OSDN Git Service

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>
Sat, 12 Dec 2015 22:06:20 +0000 (22:06 +0000)
commit352d52e2442f42539c76d8a13d795ccab7079b26
tree0bed4807ce2fedc4dcd075cb050cd95f25168674
parent84ebac4d04d25ac5c1b1dc3ae621fd465eb38f4e
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