summary refs log tree commit diff
path: root/samples/pktgen/functions.sh
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2021-06-30 15:42:46 +0800
committerMark Brown <broonie@kernel.org>2021-06-30 13:49:32 +0100
commit5db5dd5be70eaf808d9fd90174b957fc5c2912cb (patch)
treeaa7d4f6809eace3a4441e4bf059344760acf883a /samples/pktgen/functions.sh
parent6549c46af8551b346bcc0b9043f93848319acd5c (diff)
downloadlinux-5db5dd5be70eaf808d9fd90174b957fc5c2912cb.tar.gz
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 <mchehab+huawei@kernel.org>
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Tested-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/20210630074246.2305166-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'samples/pktgen/functions.sh')
0 files changed, 0 insertions, 0 deletions