]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: es8328: Fix shifts for mixer switches
authorJohn Keeping <john@metanate.com>
Fri, 20 Nov 2015 11:42:22 +0000 (11:42 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 20 Nov 2015 12:27:19 +0000 (12:27 +0000)
commitc0e0ff81899a1c4b2799941561fb4106b0abc34e
tree96dcef48a4e5d0c8781336a2c1b95eb5f395edb8
parent2715d332e6151136472842d51b2ec873c0652275
ASoC: es8328: Fix shifts for mixer switches

These are all off by one; the playback and bypass switches are the top
two bits of the registers, which are at shifts 7 and 6 not 8 and 7.

Signed-off-by: John Keeping <john@metanate.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/es8328.c