Re: [PATCH RFT] regulator: hi6421: Fix getting wrong drvdata
From: Mark Brown
Date: Mon Jul 12 2021 - 06:47:54 EST
On Wed, 30 Jun 2021 17:59:59 +0800, Axel Lin wrote:
> Since config.dev = pdev->dev.parent in current code, so
> dev_get_drvdata(rdev->dev.parent) call in hi6421_regulator_enable
> returns the drvdata of the mfd device rather than the regulator. Fix it.
>
> This was broken while converting to use simplified DT parsing because the
> config.dev changed from pdev->dev to pdev->dev.parent for parsing the
> parent's of_node.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
Thanks!
[1/1] regulator: hi6421: Fix getting wrong drvdata
commit: 1c73daee4bf30ccdff5e86dc400daa6f74735da5
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark