generic: ar8216: move ar8216_id_chip function
[openwrt.git] / target / linux / omap24xx / patches-2.6.38 / 505-cbus-retu-write-lock.patch
1 --- a/drivers/cbus/retu.c
2 +++ b/drivers/cbus/retu.c
3 @@ -120,7 +120,9 @@ void retu_write_reg(struct device *child
4 {
5 struct retu *retu = dev_get_drvdata(child->parent);
6
7 + mutex_lock(&retu->mutex);
8 __retu_write_reg(retu, reg, val);
9 + mutex_unlock(&retu->mutex);
10 }
11 EXPORT_SYMBOL_GPL(retu_write_reg);
12
This page took 0.041452 seconds and 5 git commands to generate.