diff options
author | Rajashekhara, Sudhakar <sudhakar.raj@ti.com> | 2011-07-20 17:36:04 +0530 |
---|---|---|
committer | Jonas ABERG <jonas.aberg@stericsson.com> | 2011-10-28 11:06:06 +0200 |
commit | 81540bd8877269d3d7becfe65a300df82f470913 (patch) | |
tree | 7227328b10c531143be0fcd0feaf31fab289980a /sound/soc/codecs/ads117x.h | |
parent | 427ed27e12ed3722fcd3736c2adea3cfc261e063 (diff) |
ASoC: davinci: fix codec start and stop functions
commit 3012f43eaf7592d8121426918e43e3b5db013aff upstream.
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 <sudhakar.raj@ti.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Change-Id: Ic51dd5415751fb011627a8f3a8ad4d51de626577
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35599
Tested-by: Per VAHLNE <per.xx.vahlne@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'sound/soc/codecs/ads117x.h')
0 files changed, 0 insertions, 0 deletions