summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/thinkpad_helper.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2016-03-18 19:45:13 +0100
committerTakashi Iwai <tiwai@suse.de>2016-03-18 21:25:40 +0100
commit93a9ff151754fbdf951b1b993bcf96453f6e36b3 (patch)
treea4efc862c9c8c27bbaed8c9d308b6e871bd6c6d1 /sound/pci/hda/thinkpad_helper.c
parentbd48128539ab89986b24ad08ecd3e027dd1993a1 (diff)
downloadlinux-93a9ff151754fbdf951b1b993bcf96453f6e36b3.tar.bz2
ALSA: hda - Fix spurious kernel WARNING on Baytrail HDMI
snd_hdac_sync_audio_rate() call is mandatory only for HSW and later models, but we call the function unconditionally blindly assuming that the function doesn't do anything harmful. But since recently, the function checks the validity of the passed pin NID, and eventually spews the warning if an unexpected pin is passed. This is seen on old chips like Baytrail. The fix is to limit the call of this function again only for the chips with the proper binding. This can be identified by the same flag as the eld notifier. Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Tested-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Cc: <stable@vger.kernel.org> # v4.5 Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/thinkpad_helper.c')
0 files changed, 0 insertions, 0 deletions