aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorDmitry Osipenko <[email protected]>2021-10-21 21:33:08 +0300
committerMark Brown <[email protected]>2021-10-23 14:21:11 +0100
commit400d5a5da43c0e84e5aa75151082ea91f0fae3c9 (patch)
tree3b1691bd52365d0beceb4fa68cd6876ed94b3e57 /scripts/gdb/linux/utils.py
parent3253e24bc2b6418727cd05fe3a5f4f24c1118311 (diff)
regulator: Don't error out fixed regulator in regulator_sync_voltage()
Fixed regulator can't change voltage and regulator_sync_voltage() returns -EINVAL in this case. Make regulator_sync_voltage() to succeed for regulators that are incapable to change voltage. On NVIDIA Tegra power management driver needs to sync voltage and we have one device (Trimslice) that uses fixed regulator which is getting synced. The syncing error isn't treated as fatal, but produces a noisy error message. This patch silences that error. Signed-off-by: Dmitry Osipenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions