]> git.baikalelectronics.ru Git - kernel.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)
commitc459f4bae8a73bbd8b65a8b84d5c93ead060d336
tree8411ecd1894332272ac44eb32f03937dba270416
parente7a783f0c6de9e903e394a4e379cf5fd244b0153
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