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

From: Janusz Krzysztofik
Date: Thu Jul 30 2009 - 05:14:03 EST


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@xxxxxxxxxxxx>
---

--- 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)
{
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/