diff options
| author | Axel Lin <[email protected]> | 2021-06-30 15:42:46 +0800 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2021-06-30 13:49:32 +0100 |
| commit | 5db5dd5be70eaf808d9fd90174b957fc5c2912cb (patch) | |
| tree | aa7d4f6809eace3a4441e4bf059344760acf883a /drivers/platform/surface/aggregator/controller.c | |
| parent | 6549c46af8551b346bcc0b9043f93848319acd5c (diff) | |
regulator: hi6421v600: Fix getting wrong drvdata that causes boot failure
Since config.dev = pdev->dev.parent in current code, so
dev_get_drvdata(rdev->dev.parent) actually returns the drvdata of the mfd
device rather than the regulator. Fix it.
Fixes: 9bc146acc331 ("regulator: hi6421v600: Fix setting wrong driver_data")
Reported-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Axel Lin <[email protected]>
Tested-by: Mauro Carvalho Chehab <[email protected]>
Reviewed-by: Mauro Carvalho Chehab <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions