ALSA: hda - Fix error handling in patch_ca0132.c
authorTakashi Iwai <tiwai@suse.de>
Tue, 7 Feb 2012 10:00:53 +0000 (11:00 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 7 Feb 2012 10:05:07 +0000 (11:05 +0100)
In patch_ca0132.c, the error returned from chipio_write() isn't checked
always.  Also, the power-up/down sequence isn't tracked properly in some
error paths.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found