diff options
author | Jiaxin Yu <[email protected]> | 2020-11-20 11:06:12 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-11-20 13:48:29 +0000 |
commit | 9546c76c73a1ee8b662b09f7308bcb63d2cd0d51 (patch) | |
tree | d66122c4360677935cb7529b131ab91c5d37d519 /lib/mpi/mpi-mod.c | |
parent | 36b90846c5d52b0bab38a3a91794187a5b64e941 (diff) |
ASoC: mediatek: mt6359: Fix regulator_dev_lookup() fails for id "LDO_VAUD18"
Mt6359 platform device is instantiated by mfd_add_devices(). In the
case, dev->of_node is NULL so that always fails to get the regulator_dev.
Use regualator-name "vaud18" that in dts node instead of
"LDO_VAUD19-supply". So that we can get regulator_dev through
regulator_lookup_by_name() directly.
Fixes: 64a70744b778 ("ASoC: Fix vaud18 power leakage of mt6359")
Signed-off-by: Jiaxin Yu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions