]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: hda/cirrus: Add error handling into CS8409 I2C functions
authorStefan Binding <sbinding@opensource.cirrus.com>
Mon, 15 Mar 2021 19:07:13 +0000 (19:07 +0000)
committerTakashi Iwai <tiwai@suse.de>
Tue, 16 Mar 2021 07:16:11 +0000 (08:16 +0100)
commitfb3447d5842b71ec960da1b8a3ca5ee5f46a5327
tree8411ecd1894332272ac44eb32f03937dba270416
parent9c896eeca4578507faa067d62daa2d66b1541bc8
ALSA: hda/cirrus: Add error handling into CS8409 I2C functions

Also removing 2 redundant cs8409_i2c_read() calls, as we already did read
them in a code above.

Tested on DELL Inspiron-3505, DELL Inspiron-3501, DELL Inspiron-3500

Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210315190716.47686-2-vitalyr@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_cirrus.c