From: Rajashekhara, Sudhakar Date: Wed, 20 Jul 2011 12:06:04 +0000 (+0530) Subject: ASoC: davinci: fix codec start and stop functions X-Git-Tag: v3.1-rc1~143^2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3012f43eaf7592d8121426918e43e3b5db013aff;p=pandora-kernel.git ASoC: davinci: fix codec start and stop functions According to DM365 voice codec data sheet at [1], before starting recording or playback, ADC/DAC modules should follow a reset and enable cycle. Writing a 1 to the ADC/DAC bit in the register resets the module and clearing the bit to 0 will enable the module. But the driver seems to be doing the reverse of it. [1] http://focus.ti.com/lit/ug/sprufi9b/sprufi9b.pdf Signed-off-by: Rajashekhara, Sudhakar Acked-by: Liam Girdwood Signed-off-by: Mark Brown Cc: stable@kernel.org --- Reading git-diff-tree failed