diff options
| author | Douglas Anderson <[email protected]> | 2020-06-12 19:30:50 +0000 |
|---|---|---|
| committer | Neil Armstrong <[email protected]> | 2020-06-18 09:40:38 +0000 |
| commit | c8fa5b7c7a7e54ec64edc3904ee794b5ccf12b8b (patch) | |
| tree | dee4f733da77a15a1c101716a1e1186d63cdef8f /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/bridge: ti-sn65dsi86: Fix kernel-doc typo ln_polr => ln_polrs (diff) | |
| download | kernel-c8fa5b7c7a7e54ec64edc3904ee794b5ccf12b8b.tar.gz kernel-c8fa5b7c7a7e54ec64edc3904ee794b5ccf12b8b.zip | |
drm/bridge: ti-sn65dsi86: Check the regmap return value when setting a GPIO
The ti_sn_bridge_gpio_set() got the return value of
regmap_update_bits() but didn't check it. The function can't return
an error value, but we should at least print a warning if it didn't
work.
This fixes a compiler warning about setting "ret" but not using it.
Fixes: 27ed2b3f22ed ("drm/bridge: ti-sn65dsi86: Export bridge GPIOs to Linux")
Signed-off-by: Douglas Anderson <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/20200612123003.v2.4.Ia4376fd88cdc6e8f8b43c65548458305f82f1d61@changeid
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
