summaryrefslogtreecommitdiffstats
path: root/fs/cachefiles/security.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2016-02-22 15:18:13 +0100
committerTakashi Iwai <tiwai@suse.de>2016-02-22 17:13:48 +0100
commit7e31a0159461818a1bda49662921b98a29c1187b (patch)
tree174862aff07c916328c2d36cef4ab85e6a0ccce4 /fs/cachefiles/security.c
parent67ec1072b053c15564e6090ab30127895dc77a89 (diff)
downloadop-kernel-dev-7e31a0159461818a1bda49662921b98a29c1187b.zip
op-kernel-dev-7e31a0159461818a1bda49662921b98a29c1187b.tar.gz
ALSA: hda - Apply clock gate workaround to Skylake, too
Some Skylake machines show the codec probe errors in certain situations, e.g. HP Z240 desktop fails to probe the onboard Realtek codec at reloading the snd-hda-intel module like: snd_hda_intel 0000:00:1f.3: spurious response 0x200:0x2, last cmd=0x000000 snd_hda_intel 0000:00:1f.3: azx_get_response timeout, switching to polling mode: lastcmd=0x000f0000 snd_hda_intel 0000:00:1f.3: No response from codec, disabling MSI: last cmd=0x000f0000 snd_hda_intel 0000:00:1f.3: Codec #0 probe error; disabling it... hdaudio hdaudioC0D2: no AFG or MFG node found snd_hda_intel 0000:00:1f.3: no codecs initialized Also, HP G470 G3 suffers from the similar problem, as reported in bugzilla below. On this machine, the codec probe error appears even at a fresh boot. As Libin suggested, the same workaround used for Broxton in the commit [6639484ddaf6: ALSA: hda - disable dynamic clock gating on Broxton before reset] can be applied for Skylake in order to fix this problem. The Intel HW team also confirmed that this is needed for SKL. This patch makes the workaround applied to both SKL and BXT platforms. The referred macros are moved and one superfluous macro (IS_BROXTON()) is another one (IS_BXT()) as well. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=112731 Suggested-by: Libin Yang <libin.yang@linux.intel.com> Cc: <stable@vger.kernel.org> # v4.4+ Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'fs/cachefiles/security.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud