From: Michael Büsch Date: Sun, 27 Feb 2011 17:23:24 +0000 (+0000) Subject: rename patch X-Git-Tag: reboot~17423 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5a3eb5f0759af8a07317ccb4763bfc2a7100b49d;p=oweals%2Fopenwrt.git rename patch SVN-Revision: 25757 --- 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); + 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 deleted file mode 100644 index 0fb8c6f212..0000000000 --- a/target/linux/omap24xx/patches-2.6.38/505-retu-write-lock.patch +++ /dev/null @@ -1,14 +0,0 @@ -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); -