package: kernel: fix typo
[openwrt.git] / target / linux / omap24xx / patches-3.1 / 251-cbus-tahvo-lock-fix.patch
1 Index: linux-3.1/drivers/cbus/tahvo.c
2 ===================================================================
3 --- linux-3.1.orig/drivers/cbus/tahvo.c 2011-11-05 17:03:39.598846119 +0100
4 +++ linux-3.1/drivers/cbus/tahvo.c 2011-11-05 17:04:36.274768324 +0100
5 @@ -104,7 +104,9 @@ void tahvo_write_reg(struct device *chil
6 {
7 struct tahvo *tahvo = dev_get_drvdata(child->parent);
8
9 + mutex_lock(&tahvo->mutex);
10 __tahvo_write_reg(tahvo, reg, val);
11 + mutex_unlock(&tahvo->mutex);
12 }
13 EXPORT_SYMBOL(tahvo_write_reg);
14
This page took 0.042847 seconds and 5 git commands to generate.