mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 17:36:14 +02:00
95ef6e1d42
Thank you Peter Wagner for the patch. I refreshed the kernel patches and added the md5sum of the kernel. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26905 3c298f89-4303-0410-b956-a3cf2f4a3e73
13 lines
308 B
Diff
13 lines
308 B
Diff
--- a/drivers/cbus/retu.c
|
|
+++ b/drivers/cbus/retu.c
|
|
@@ -120,7 +120,9 @@ void retu_write_reg(struct device *child
|
|
{
|
|
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);
|
|
|