diff options
author | Joonyoung Shim <jy0922.shim@samsung.com> | 2009-07-23 17:33:17 +0900 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-07-23 11:08:30 +0100 |
commit | a7569afa8b79ca9272b0d7544335bc05b5b721d6 (patch) | |
tree | fdc41caf35e146da60c65714826932737d9db5e6 /sound/pci/via82xx.c | |
parent | 459dc35233c88d9eb7c5d0e6c086122751e64750 (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/pci/via82xx.c')
0 files changed, 0 insertions, 0 deletions