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)
commit9e51ac6ea6041641f64fb761ccf9de271e6576cb
treeb4f087b1eefc1efa100d608fcf4bb15096294551
parentf0d96937d31c4615a6418e4bed5cee50a952040e
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