Re: [PATCH] ASoC: AM3517: Fix AIC23 suspend/resume hang

2009-11-25 Thread Mark Brown
On Wed, Nov 25, 2009 at 06:40:31PM +0530, Anuj Aggarwal wrote: System hang is observed While trying to do suspend. It was because of an infinite loop in the AIC23 resume path which was trying to restore AIC23 register values from the register cache. This doesn't appear to tie in with the

RE: [PATCH] ASoC: AM3517: Fix AIC23 suspend/resume hang

2009-11-25 Thread Aggarwal, Anuj
-Original Message- From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] Sent: Wednesday, November 25, 2009 7:04 PM To: Aggarwal, Anuj Cc: alsa-de...@alsa-project.org; linux-omap@vger.kernel.org Subject: Re: [PATCH] ASoC: AM3517: Fix AIC23 suspend/resume hang On Wed, Nov

Re: [PATCH] ASoC: AM3517: Fix AIC23 suspend/resume hang

2009-11-25 Thread Mark Brown
On Thu, Nov 26, 2009 at 12:49:11AM +0530, Aggarwal, Anuj wrote: snip int i; u16 reg; /* Sync reg_cache with the hardware */ for (reg = 0; reg ARRAY_SIZE(tlv320aic23_reg); i++) { u16 val = tlv320aic23_read_reg_cache(codec, reg);

RE: [PATCH] ASoC: AM3517: Fix AIC23 suspend/resume hang

2009-11-25 Thread Aggarwal, Anuj
-Original Message- From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] Sent: Thursday, November 26, 2009 1:10 AM To: Aggarwal, Anuj Cc: alsa-de...@alsa-project.org; linux-omap@vger.kernel.org Subject: Re: [PATCH] ASoC: AM3517: Fix AIC23 suspend/resume hang On Thu, Nov 26