projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2127816
)
regulator: Initialise wm831x structure pointor for ISINK driver
author
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Mon, 30 Nov 2009 14:01:56 +0000
(14:01 +0000)
committer
Liam Girdwood
<lrg@slimlogic.co.uk>
Wed, 2 Dec 2009 19:37:16 +0000
(19:37 +0000)
The version that made it into mainline missed the initialisation of the
chip handle.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/wm831x-isink.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/wm831x-isink.c
b/drivers/regulator/wm831x-isink.c
index 1d8d9879d3a1bacb6d73b0d6729ff8d18d65bd25..48857008758cc96248b38cccc24a05754bd5197d 100644
(file)
--- a/
drivers/regulator/wm831x-isink.c
+++ b/
drivers/regulator/wm831x-isink.c
@@
-167,6
+167,8
@@
static __devinit int wm831x_isink_probe(struct platform_device *pdev)
return -ENOMEM;
}
+ isink->wm831x = wm831x;
+
res = platform_get_resource(pdev, IORESOURCE_IO, 0);
if (res == NULL) {
dev_err(&pdev->dev, "No I/O resource\n");