]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs35l35: Correct errata handling
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Mon, 10 May 2021 13:13:53 +0000 (14:13 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 10 May 2021 16:27:51 +0000 (17:27 +0100)
commit5683697639adb55a7b58b544d704a0ce2131d4e3
tree4aeb99168e47feac35049d7b5ef880798bdc2aeb
parent9b0e4cb099646496f7f253f4f13f833197d70e3a
ASoC: cs35l35: Correct errata handling

Currently the check of errata_chk will always evaluate to false since
the values tested don't come under the mask used. A shift of the field
is missing, add this. Also there is an error in the values tested, they
don't match the comment and the value 0x3 is not a valid value for the
field in question. Update the value to match the comment.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210510131357.17170-7-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l35.c
sound/soc/codecs/cs35l35.h