diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-11-22 07:47:44 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-11-22 14:06:21 +0100 |
commit | 5c4b2aa3fd1dc30af098de5dec766a817621ace2 (patch) | |
tree | e30d44721abb95d6f6945437c27138218fc2ba8c /sound/soc/samsung/smdk_wm9713.c | |
parent | ASoC: Fix wrong define for AD1836_ADC_WORD_OFFSET (diff) | |
download | linux-5c4b2aa3fd1dc30af098de5dec766a817621ace2.tar.xz linux-5c4b2aa3fd1dc30af098de5dec766a817621ace2.zip |
ASoC: max9877: Update register if either val or val2 is changed
In the case of ((max9877_regs[reg] >> shift) & mask) != val
but ((max9877_regs[reg2] >> shift) & mask) == val2,
current code does not update the registers.
Fix the logic to update registers if either val or val2 is changed.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/samsung/smdk_wm9713.c')
0 files changed, 0 insertions, 0 deletions