diff options
author | 2018-01-12 15:48:47 +0100 | |
---|---|---|
committer | 2018-01-16 17:10:14 -0500 | |
commit | 6ac69290289821b80c2fcf9e3f2c137346c4239f (patch) | |
tree | c7d096ee40a05879a7e72308270570ca2523b54f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/bridge/synopsys: dsi: handle endianness correctly in dw_mipi_dsi_write() (diff) | |
download | linux-dev-6ac69290289821b80c2fcf9e3f2c137346c4239f.tar.xz linux-dev-6ac69290289821b80c2fcf9e3f2c137346c4239f.zip |
drm/dsi: Fix improper use of mipi_dsi_device_transfer() return value
The function mipi_dsi_device_transfer() returns the number of transmitted
or received bytes on success or a negative error code on failure.
The functions mipi_dsi_shutdown_peripheral(), mipi_dsi_turn_on_peripheral() &
mipi_dsi_set_maximum_return_packet_size() use improperly this returned
value in case of success: 0 should be returned instead of the number of
transmitted bytes.
Signed-off-by: Philippe Cornu <philippe.cornu@st.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180112144847.18810-1-philippe.cornu@st.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions