diff options
| author | Quentin Schulz <[email protected]> | 2024-06-05 11:33:21 +0200 |
|---|---|---|
| committer | Kever Yang <[email protected]> | 2024-06-14 17:02:07 +0800 |
| commit | 7bc5c3ea62471bca435a6365cd7c070653b3a794 (patch) | |
| tree | d828867e59e7c4f591e14854e0086655e9d205c7 /scripts/basic | |
| parent | 53ce821586fcc66fc9a049dff5d15d9679905336 (diff) | |
regulator: rk8xx: fix incorrect device used for _ldo_[sg]et_suspend_value
_ldo_get_suspend_value and _ldo_set_suspend_value get passed the parent
of the regulator (so the pmic) as first argument, therefore this udevice
should be used for pmic_* callbacks instead of using the parent of the
pmic.
To avoid further confusion, let's rename the argument to pmic instead of
dev, highlighting which kind of device we expect as argument.
Fixes: f047e4ab9762 ("regulator: rk8xx: add indirection level for some ldo callbacks")
Reported-by: Simon Glass <[email protected]>
Signed-off-by: Quentin Schulz <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Tested-by: Simon Glass <[email protected]> # chromebook-bob
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
