From: Joonyoung Shim Date: Thu, 23 Jul 2009 08:33:17 +0000 (+0900) Subject: ASoC: MAX9877: fix write operation for register X-Git-Tag: v2.6.32-rc1~166^2~83^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7569afa8b79ca9272b0d7544335bc05b5b721d6;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed