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)
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>

No differences found