ALSA: hda - hdmi: Add error-checking to some codec reads
authorAnssi Hannula <anssi.hannula@iki.fi>
Sun, 10 Nov 2013 18:56:10 +0000 (20:56 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 11 Nov 2013 16:07:49 +0000 (17:07 +0100)
commit13122e6ebf24d9f676d8a40edc2e9a265e89b628
treee3878736f044b3237dd6c09dd2ddc6571966eaf8
parent71373fddf6dff7cf5e67923e6837fc4de28478ff
ALSA: hda - hdmi: Add error-checking to some codec reads

Add error checks to HBR status reads (both generic and ATI/AMD) and
ATI/AMD codec reads for ELD generation.

Unchecked errors in these just caused more errors later on (invalid
codec writes for the HBR ones and ELD parsing errors for the ATI/AMD ELD
ones), but it is better to catch them earlier.

Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_eld.c
sound/pci/hda/patch_hdmi.c
This page took 0.025951 seconds and 5 git commands to generate.