[PATCH v2 1/2] ASoC: davinci: fix codec start and stop functions

2011-07-20 Thread Rajashekhara, Sudhakar
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

Re: [PATCH v2 1/2] ASoC: davinci: fix codec start and stop functions

2011-07-20 Thread Liam Girdwood
On 20/07/11 13:06, Rajashekhara, Sudhakar wrote: 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

Re: [PATCH v2 1/2] ASoC: davinci: fix codec start and stop functions

2011-07-20 Thread Mark Brown
On Wed, Jul 20, 2011 at 05:36:04PM +0530, Rajashekhara, Sudhakar wrote: 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