]> nv-tegra.nvidia Code Review - linux-3.10.git/commit
ALSA: hda: Support disabling of clocks for Tegra
authorSumit Bhattacharya <sumitb@nvidia.com>
Mon, 28 Nov 2011 20:47:05 +0000 (02:17 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 08:11:18 +0000 (01:11 -0700)
commit06ebb18e64582f7200071824d91b9757881eb63b
treea6926dce9654d9d9e53975d8d2db4d0ffe9fe50a
parent859c20276f7da43a2cd7f44d418be4392859133d
ALSA: hda: Support disabling of clocks for Tegra

This change is basically a WAR. Tegra T30 HDA controller does not
support presence detect event generateion when all HDA clocks are
off. This change forcefully enables power disabling of HDA chip and
clocks while not in use. As a side effect Tegra HDA driver misses
the unsolicited HDMI plug in event when in power off mode. To overcome
this limitation whenever user space tries to open an HDMI pcm stream
Tegra HDA controller requests HDMI driver to setup presence detect
registers after enabling the chip and waits until it gets valid ELD
data.

Bug 904530

Change-Id: I8c8cb6fe7935ba8b16c421beca68cb1d7f576212
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/66972
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Rebase-Id: R3ee2f4a750922ed8bba16505401f995fa7ea508c
sound/pci/hda/patch_hdmi.c