summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDinghao Liu <dinghao.liu@zju.edu.cn>2021-03-03 20:12:36 +0800
committerSebastian Reichel <sebastian.reichel@collabora.com>2021-03-15 01:07:54 +0100
commit17e499a7d6b52ff3be565a2f6184883dd1fdd9af (patch)
treef01aaddee48b25008fdeeb60b22c7a20102e98e2 /tools/perf/scripts/python
parent32826341058bf8d63456289a8bf48648ad17c897 (diff)
power: supply: axp20x_usb_power: Add missing check in axp20x_usb_power_probe
There are two regmap_update_bits() calls but only one of them has return value check, which is odd. Add a return value check and terminate the execution flow on failure just like the other call. Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions