0fb8c6f212f0236d0d8edd541b07faed8f1923e4
[openwrt.git] / target / linux / omap24xx / patches-2.6.38 / 505-cbus-retu-write-lock.patch
1 Index: linux-2.6.38-rc6/drivers/cbus/retu.c
2 ===================================================================
3 --- linux-2.6.38-rc6.orig/drivers/cbus/retu.c 2011-02-26 23:23:34.014429906 +0100
4 +++ linux-2.6.38-rc6/drivers/cbus/retu.c 2011-02-26 23:25:18.905358127 +0100
5 @@ -120,7 +120,9 @@
6 {
7 struct retu *retu = dev_get_drvdata(child->parent);
8
9 + mutex_lock(&retu->mutex);
10 __retu_write_reg(retu, reg, val);
11 + mutex_unlock(&retu->mutex);
12 }
13 EXPORT_SYMBOL_GPL(retu_write_reg);
14
This page took 0.052197 seconds and 3 git commands to generate.