23 Jul
2009
23 Jul
'09
12:09 p.m.
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.