diff options
author | mb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-02-26 23:52:18 +0000 |
---|---|---|
committer | mb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-02-26 23:52:18 +0000 |
commit | 43d9b85117bd329cf24b23074726a08569b2efd6 (patch) | |
tree | 7e5ae092f3e4b4f251f6c91824d6a3dc18a542d9 /target/linux/omap24xx/patches-2.6.38/505-retu-write-lock.patch | |
parent | ea40c99f2a12aac007f7c1cfc58c1e8a2f41793d (diff) |
omap24xx: Add 2.6.38 files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25746 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/omap24xx/patches-2.6.38/505-retu-write-lock.patch')
-rw-r--r-- | target/linux/omap24xx/patches-2.6.38/505-retu-write-lock.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/omap24xx/patches-2.6.38/505-retu-write-lock.patch b/target/linux/omap24xx/patches-2.6.38/505-retu-write-lock.patch new file mode 100644 index 000000000..0fb8c6f21 --- /dev/null +++ b/target/linux/omap24xx/patches-2.6.38/505-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); + |