X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/0cd57d2f52bcca4d521a9e7d074359ecc11e9939..19b6acd0905aef3f8718e694c0264ef5ddcf6403:/target/linux/generic-2.6/patches-2.6.30/780-fix-race-in-snd_soc_jack_add_gpios.patch diff --git a/target/linux/generic-2.6/patches-2.6.30/780-fix-race-in-snd_soc_jack_add_gpios.patch b/target/linux/generic-2.6/patches-2.6.30/780-fix-race-in-snd_soc_jack_add_gpios.patch index 068d850ef..b7214b9d6 100644 --- a/target/linux/generic-2.6/patches-2.6.30/780-fix-race-in-snd_soc_jack_add_gpios.patch +++ b/target/linux/generic-2.6/patches-2.6.30/780-fix-race-in-snd_soc_jack_add_gpios.patch @@ -9,11 +9,9 @@ Date: Fri Jul 31 18:26:48 2009 +0200 Signed-off-by: Lars-Peter Clausen -diff --git a/sound/soc/soc-jack.c b/sound/soc/soc-jack.c -index 28346fb..639333a 100644 --- a/sound/soc/soc-jack.c +++ b/sound/soc/soc-jack.c -@@ -220,6 +220,9 @@ int snd_soc_jack_add_gpios(struct snd_soc_jack *jack, int count, +@@ -220,6 +220,9 @@ int snd_soc_jack_add_gpios(struct snd_so if (ret) goto err; @@ -23,7 +21,7 @@ index 28346fb..639333a 100644 ret = request_irq(gpio_to_irq(gpios[i].gpio), gpio_handler, IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING, -@@ -227,9 +230,6 @@ int snd_soc_jack_add_gpios(struct snd_soc_jack *jack, int count, +@@ -227,9 +230,6 @@ int snd_soc_jack_add_gpios(struct snd_so &gpios[i]); if (ret) goto err;