projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e6ba2d
)
mfd: Unlock mc13783 before subsystems initialisation, at probe time.
author
Alberto Panizzo
<
[email protected]
>
Mon, 14 Dec 2009 17:18:05 +0000
(18:18 +0100)
committer
Samuel Ortiz
<
[email protected]
>
Mon, 18 Jan 2010 11:30:28 +0000
(12:30 +0100)
With this, mc13783 subsystems drivers can configure the mc13783 chip
reading and writing registers.
Signed-off-by: Alberto Panizzo <
[email protected]
>
Acked-by: Uwe Kleine-König <
[email protected]
>
Signed-off-by: Samuel Ortiz <
[email protected]
>
drivers/mfd/mc13783-core.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/mc13783-core.c
b/drivers/mfd/mc13783-core.c
index a1ade2324ea903bccfab8a35f75fecaa9428f59e..735c8a4d164f0d503bcb5ddc5c2323dc3b6eae0d 100644
(file)
--- a/
drivers/mfd/mc13783-core.c
+++ b/
drivers/mfd/mc13783-core.c
@@
-619,6
+619,8
@@
err_revision:
}
/* This should go away (END) */
+ mc13783_unlock(mc13783);
+
if (pdata->flags & MC13783_USE_ADC)
mc13783_add_subdevice(mc13783, "mc13783-adc");
@@
-641,8
+643,6
@@
err_revision:
if (pdata->flags & MC13783_USE_TOUCHSCREEN)
mc13783_add_subdevice(mc13783, "mc13783-ts");
- mc13783_unlock(mc13783);
-
return 0;
}