aboutsummaryrefslogtreecommitdiff
path: root/drivers/clocksource/qcom-timer.c
diff options
context:
space:
mode:
authorPhilippe Cornu <[email protected]>2018-01-12 15:48:47 +0100
committerSean Paul <[email protected]>2018-01-16 17:10:14 -0500
commit6ac69290289821b80c2fcf9e3f2c137346c4239f (patch)
treec7d096ee40a05879a7e72308270570ca2523b54f /drivers/clocksource/qcom-timer.c
parentfd2cb71bbc383edbfe73ce3770569c7259cfb939 (diff)
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 <[email protected]> Reviewed-by: Andrzej Hajda <[email protected]> Signed-off-by: Sean Paul <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/clocksource/qcom-timer.c')
0 files changed, 0 insertions, 0 deletions