Re: [PATCH 19/21] drm: mxsfb: Turn mxsfb_set_pixel_fmt() into a void function

2020-03-23 Thread Stefan Agner
On 2020-03-09 20:52, Laurent Pinchart wrote: > The mxsfb_set_pixel_fmt() function returns an error when the selected > pixel format is unsupported. This can never happen, as such errors are > caught by the DRM core. Remove the error check. > > Signed-off-by: Laurent Pinchart I see, we specify th

[PATCH 19/21] drm: mxsfb: Turn mxsfb_set_pixel_fmt() into a void function

2020-03-09 Thread Laurent Pinchart
The mxsfb_set_pixel_fmt() function returns an error when the selected pixel format is unsupported. This can never happen, as such errors are caught by the DRM core. Remove the error check. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/mxsfb/mxsfb_kms.c | 11 ++- 1 file changed, 2 i