aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-core.c
diff options
context:
space:
mode:
authorJoonyoung Shim <jy0922.shim@samsung.com>2009-07-23 04:33:17 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-07-23 06:08:30 -0400
commita7569afa8b79ca9272b0d7544335bc05b5b721d6 (patch)
treefdc41caf35e146da60c65714826932737d9db5e6 /sound/soc/soc-core.c
parent459dc35233c88d9eb7c5d0e6c086122751e64750 (diff)
ASoC: MAX9877: fix write operation for register
The MAX9877 needs an address of start register when we write values to registers through i2c_master_send(), but the code for this was missed in max9877_write_regs(). If the value of control is 0 in the max9877_set_out_mode(), the value is not increased to 1, but actually the value to write to the register should be 1. And the register bits for out_mode and osc_mode should be cleared before writing. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/soc-core.c')
0 files changed, 0 insertions, 0 deletions