[alsa-devel] ASoC: MAX9877: fix write operation for register

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Jul 23 12:09:12 CEST 2009

On Thu, Jul 23, 2009 at 05:33:17PM +0900, Joonyoung Shim wrote:
> 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.

Applied, thanks.

More information about the Alsa-devel mailing list