]> 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)
commite9a1de23ed484886d043c7af49d7a82726563065
treeb4f087b1eefc1efa100d608fcf4bb15096294551
parent43fd8719f8289f5c3d74573262ab17597f2cd53a
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