]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: max98396: Fix register access for PCM format settings
authorDaniel Mack <daniel@zonque.org>
Fri, 24 Jun 2022 10:47:10 +0000 (12:47 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 7 Jul 2022 16:16:22 +0000 (17:16 +0100)
commit53cd394f793f117e5b62d9db6c884fbb2b981ea9
treeb4f087b1eefc1efa100d608fcf4bb15096294551
parent46c60ddcb23eab0e7666cf66fc5d44966ebc8a11
ASoC: max98396: Fix register access for PCM format settings

max98396_dai_set_fmt() modifes register 2041 and touches bits in the mask
0x3a. Make sure to use the right mask for that operation.

Signed-off-by: Daniel Mack <daniel@zonque.org>
Link: https://lore.kernel.org/r/20220624104712.1934484-7-daniel@zonque.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max98396.c