diff options
author | Marek Szyprowski <[email protected]> | 2023-03-09 16:24:46 +0100 |
---|---|---|
committer | Neil Armstrong <[email protected]> | 2023-03-15 10:06:46 +0100 |
commit | 4028cbf867f70a3c599c9b0c9509334c56ed97d7 (patch) | |
tree | 687669eb7d8989868726d469a64fcd844aa67168 /tools/perf/scripts | |
parent | 0d3c9333d976af41d7dbc6bf4d9d2e95fbdf9c89 (diff) |
drm/meson: dw-hdmi: Fix devm_regulator_*get_enable*() conversion again
devm_regulator_get_enable_optional() returns -ENODEV if requested
optional regulator is not present. Adjust code for that, because in the
67d0a30128c9 I've incorrectly assumed that it also returns 0 when
regulator is not present.
Reported-by: Ricardo CaƱuelo <[email protected]>
Fixes: 67d0a30128c9 ("drm/meson: dw-hdmi: Fix devm_regulator_*get_enable*() conversion")
Signed-off-by: Marek Szyprowski <[email protected]>
Acked-by: Martin Blumenstingl <[email protected]>
Acked-by: Neil Armstrong <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions