All of lore.kernel.org
 help / color / mirror / Atom feed
* ASoC: Merging at91 and avr32 dirs - test report
@ 2008-10-10 15:15 ext-jukka.hynninen
  2008-10-10 18:53 ` Mark Brown
  2008-10-13 14:22 ` Sedji Gaouaou
  0 siblings, 2 replies; 13+ messages in thread
From: ext-jukka.hynninen @ 2008-10-10 15:15 UTC (permalink / raw)
  To: broonie; +Cc: alsa-devel

I tested the patches and got everything working with minor changes.

However, there seems to be some problem with PM, occasionally ASoC is
stuck with Standby mode (looking at dapm_widgets) when I start the
playback. Restarting the player brings the sound back. I'll carry out
some further investigation and get back to this.

My kernel is 2.6.27-rc3, and machine driver is adapted from
playpaq_wm8510.c to run on at91rm9200 board.

The SSC peripheral clock was disabled more often than it was enabled,
and that catched the bug trap in arch/arm/mach-at91/clock.c. I'm not
sure if this was the real problem, but it's the way I managed to solve
it.


-Jukka


diff -uprN a/sound/soc/atmel/atmel_ssc_dai.c
b/sound/soc/atmel/atmel_ssc_dai.c
--- a/sound/soc/atmel/atmel_ssc_dai.c   2008-10-10 17:23:46.000000000
+0300
+++ b/sound/soc/atmel/atmel_ssc_dai.c   2008-10-10 17:26:06.000000000
+0300
@@ -261,11 +261,11 @@ static void atmel_ssc_shutdown(struct sn
        spin_lock_irq(&ssc_p->lock);
        ssc_p->dir_mask &= ~dir_mask;
        if (!ssc_p->dir_mask) {
-               /* Shutdown the SSC clock. */
-               pr_debug("atmel_ssc_dau: Stopping clock\n");
-               clk_disable(ssc_p->ssc->clk);
-
                if (ssc_p->initialized) {
+                       /* Shutdown the SSC clock. */
+                       pr_debug("atmel_ssc_dai: Stopping clock\n");
+                       clk_disable(ssc_p->ssc->clk);
+
                        free_irq(ssc_p->ssc->irq, ssc_p);
                        ssc_p->initialized = 0;
                }

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2008-10-27 13:34 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-10 15:15 ASoC: Merging at91 and avr32 dirs - test report ext-jukka.hynninen
2008-10-10 18:53 ` Mark Brown
2008-10-14  7:28   ` ext-jukka.hynninen
2008-10-14 12:38     ` ext-jukka.hynninen
2008-10-14 12:58       ` Mark Brown
2008-10-14 14:00         ` ext-jukka.hynninen
2008-10-27  9:57           ` Sedji Gaouaou
2008-10-27 10:42             ` Mark Brown
2008-10-27 11:13               ` ext-jukka.hynninen
2008-10-27 11:29                 ` Mark Brown
2008-10-27 13:34                   ` ext-jukka.hynninen
2008-10-13 14:22 ` Sedji Gaouaou
2008-10-13 14:34   ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.