aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/omap24xx/patches-2.6.38/505-cbus-retu-write-lock.patch
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2011-02-27 17:23:24 +0000
committerMichael Büsch <mb@bu3sch.de>2011-02-27 17:23:24 +0000
commit11aed5eb3939c157b1caf7416410714ede452b6d (patch)
treec2699f1397ff8d92fc13f7d7b53616ab11375e69 /target/linux/omap24xx/patches-2.6.38/505-cbus-retu-write-lock.patch
parent9214bc2534a4811ca65c3bee7f652780daaaf529 (diff)
downloadmaster-187ad058-11aed5eb3939c157b1caf7416410714ede452b6d.tar.gz
master-187ad058-11aed5eb3939c157b1caf7416410714ede452b6d.tar.bz2
master-187ad058-11aed5eb3939c157b1caf7416410714ede452b6d.zip
rename patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25757 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/omap24xx/patches-2.6.38/505-cbus-retu-write-lock.patch')
-rw-r--r--target/linux/omap24xx/patches-2.6.38/505-cbus-retu-write-lock.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/omap24xx/patches-2.6.38/505-cbus-retu-write-lock.patch b/target/linux/omap24xx/patches-2.6.38/505-cbus-retu-write-lock.patch
new file mode 100644
index 0000000000..0fb8c6f212
--- /dev/null
+++ b/target/linux/omap24xx/patches-2.6.38/505-cbus-retu-write-lock.patch
@@ -0,0 +1,14 @@
+Index: linux-2.6.38-rc6/drivers/cbus/retu.c
+===================================================================
+--- linux-2.6.38-rc6.orig/drivers/cbus/retu.c 2011-02-26 23:23:34.014429906 +0100
++++ linux-2.6.38-rc6/drivers/cbus/retu.c 2011-02-26 23:25:18.905358127 +0100
+@@ -120,7 +120,9 @@
+ {
+ struct retu *retu = dev_get_drvdata(child->parent);
+
++ mutex_lock(&retu->mutex);
+ __retu_write_reg(retu, reg, val);
++ mutex_unlock(&retu->mutex);
+ }
+ EXPORT_SYMBOL_GPL(retu_write_reg);
+