diff options
author | Michael Büsch <mb@bu3sch.de> | 2011-02-27 17:23:24 +0000 |
---|---|---|
committer | Michael Büsch <mb@bu3sch.de> | 2011-02-27 17:23:24 +0000 |
commit | 5a3eb5f0759af8a07317ccb4763bfc2a7100b49d (patch) | |
tree | de16ad9e79236e29f08421d8ba87d76b54af1921 /target/linux/omap24xx/patches-2.6.38/505-cbus-retu-write-lock.patch | |
parent | 5f59f81af8ef60a7f037a2220779af513a725103 (diff) | |
download | mtk-20170518-5a3eb5f0759af8a07317ccb4763bfc2a7100b49d.zip mtk-20170518-5a3eb5f0759af8a07317ccb4763bfc2a7100b49d.tar.gz mtk-20170518-5a3eb5f0759af8a07317ccb4763bfc2a7100b49d.tar.bz2 |
rename patch
SVN-Revision: 25757
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.patch | 14 |
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 0000000..0fb8c6f --- /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); + |