aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2018-10-16 06:58:25 +0000
committerLaurent Pinchart <[email protected]>2018-11-23 11:51:22 +0000
commit4d486f18d91b1876040bf87e9ad78981a08b15a6 (patch)
treead460b6e3f16e491500d201cc60391d3acdead48 /drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c
parentdrm: rcar-du: Add R8A7744 support (diff)
downloadkernel-4d486f18d91b1876040bf87e9ad78981a08b15a6.tar.gz
kernel-4d486f18d91b1876040bf87e9ad78981a08b15a6.zip
drm: rcar-du: Fix the return value in case of error in 'rcar_du_crtc_set_crc_source()'
We return 0 unconditionally in 'rcar_du_crtc_set_crc_source()'. However, 'ret' is set to some error codes if some function calls fail. Return 'ret' instead to propagate the error code. Fixes: 47a52d024e89 ("media: drm: rcar-du: Add support for CRC computation") Signed-off-by: Christophe JAILLET <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Laurent Pinchart <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c')
0 files changed, 0 insertions, 0 deletions