Commit e8092da9 authored by Mark Brown's avatar Mark Brown Committed by Liam Girdwood

regulator: Initialise wm831x structure pointor for ISINK driver

The version that made it into mainline missed the initialisation of the
chip handle.
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent 21278163
...@@ -167,6 +167,8 @@ static __devinit int wm831x_isink_probe(struct platform_device *pdev) ...@@ -167,6 +167,8 @@ static __devinit int wm831x_isink_probe(struct platform_device *pdev)
return -ENOMEM; return -ENOMEM;
} }
isink->wm831x = wm831x;
res = platform_get_resource(pdev, IORESOURCE_IO, 0); res = platform_get_resource(pdev, IORESOURCE_IO, 0);
if (res == NULL) { if (res == NULL) {
dev_err(&pdev->dev, "No I/O resource\n"); dev_err(&pdev->dev, "No I/O resource\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment