diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-12-23 14:42:55 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-02 15:54:15 +0400 |
commit | f60e5473e6788f93849a61198bec4e02fea31e51 (patch) | |
tree | cf211455da24d174f6187dd4a6d40ef24925ad36 /sound/soc/Kconfig | |
parent | 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff) | |
download | linux-f60e5473e6788f93849a61198bec4e02fea31e51.tar.xz |
ASoC: ssm2518: Fix off-by-one error by ffs()
ffs() returns the bit position from 1, while the ssm2158 driver code
assumes it being 0-based. Also, the bit mask computation of the two
channel slots are incorrect; it must have worked just casually.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/Kconfig')
0 files changed, 0 insertions, 0 deletions