]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: sgtl5000: Write all default registers
authorEric Nelson <eric@nelint.com>
Mon, 6 Jun 2016 23:14:49 +0000 (01:14 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 15 Jun 2016 13:09:17 +0000 (14:09 +0100)
commitf219b16959ee3df2fd49f09493b3f6b28487c416
tree9c9a36aa30be5975330545aeaf2876207956368e
parent940adb280d23512965409c1fd6b42cc796ce6eb8
ASoC: sgtl5000: Write all default registers

If an error occurs writing defaults, produce an error message but
continue writing other registers. The failure of a single write should
not cause catastrophic device failure.

In at least one occurrence, I2C writes of CHIP_ANA_POWER were nacked,
though continuing allowed the device to operate properly.

Signed-off-by: Eric Nelson <eric@nelint.com>
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
Tested-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/sgtl5000.c