Commit e8092da92e1fd38dc7c38a4eeae93eaa21764584

Authored by Mark Brown
Committed by Liam Girdwood
1 parent 2127816366

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: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

drivers/regulator/wm831x-isink.c
... ... @@ -167,6 +167,8 @@
167 167 return -ENOMEM;
168 168 }
169 169  
  170 + isink->wm831x = wm831x;
  171 +
170 172 res = platform_get_resource(pdev, IORESOURCE_IO, 0);
171 173 if (res == NULL) {
172 174 dev_err(&pdev->dev, "No I/O resource\n");