[alsa-devel] [RFC] [PATCH 3/3 v2] ASoC: add support for Amstrad E3 (Delta) machine

Janusz Krzysztofik jkrzyszt at tis.icnet.pl
Thu Jul 30 11:12:52 CEST 2009

Wednesday 29 July 2009 13:18:53 Janusz Krzysztofik napisał(a):
> This patch adds machine support for Amstrad E3 (Delta) videophone to ASoC.
> Created and tested against linux-2.6.31-rc3.

I am aware that I have forgot to correct one checkpatch indicated issue. Sorry
for this.  If there are no other changes to the locking bits suggested, the
issue will be corrected this way:

Signed-off-by: Janusz Krzysztofik <jkrzyszt at tis.icnet.pl>

--- linux-2.6.31-rc3/sound/soc/omap/ams-delta.c.orig    2009-07-30 11:01:37.000000000 +0200
+++ linux-2.6.31-rc3/sound/soc/omap/ams-delta.c 2009-07-30 00:52:34.000000000 +0200
@@ -251,7 +251,7 @@ static struct snd_soc_jack_pin ams_delta
 static struct timer_list cx81801_timer;
 static bool cx81801_cmd_pending;
 static bool ams_delta_muted;
-static spinlock_t ams_delta_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(ams_delta_lock);

 static void cx81801_timeout(unsigned long data)

More information about the Alsa-devel mailing list