Re: [alsa-devel] [PATCH 07/11] ASoC: omap-mcbsp: Sidetone: Use SIDLE bits in SYSCONFIG register to select noidle mode

2012-08-09 Thread Ricardo Neri
Hi Peter, On 08/09/2012 02:05 AM, Peter Ujfalusi wrote: Hi Ricardo, On 08/09/2012 01:12 AM, Ricardo Neri wrote: Is this another case in which it is required to change the idle-mode on a per-use-case basis? In the past I was trying to do the same with HDMI [1]. In that case it was decided to ad

Re: [alsa-devel] [PATCH 07/11] ASoC: omap-mcbsp: Sidetone: Use SIDLE bits in SYSCONFIG register to select noidle mode

2012-08-09 Thread Peter Ujfalusi
Hi Ricardo, On 08/09/2012 01:12 AM, Ricardo Neri wrote: > Is this another case in which it is required to change the idle-mode on a > per-use-case basis? In the past I was trying to do the same with HDMI [1]. In > that case it was decided to add the HWMOD_SWSUP_SIDLE to hwmod data with the > drawb

Re: [alsa-devel] [PATCH 07/11] ASoC: omap-mcbsp: Sidetone: Use SIDLE bits in SYSCONFIG register to select noidle mode

2012-08-08 Thread Ricardo Neri
On 08/08/2012 04:11 AM, Peter Ujfalusi wrote: Instead of the callback (which modifies control module register) use the McBSP module's SYSCONFIG register to disable smart-idle mode when the sidetone is enabled. Store the original SIDLEMODE configuration and restore it when the sidetone has been di

[PATCH 07/11] ASoC: omap-mcbsp: Sidetone: Use SIDLE bits in SYSCONFIG register to select noidle mode

2012-08-08 Thread Peter Ujfalusi
Instead of the callback (which modifies control module register) use the McBSP module's SYSCONFIG register to disable smart-idle mode when the sidetone is enabled. Store the original SIDLEMODE configuration and restore it when the sidetone has been disabled. Signed-off-by: Peter Ujfalusi --- sou