Re: [PATCH v12 14/33] rcar-vin: align pixelformat check

2018-03-09 Thread Hans Verkuil
On 07/03/18 23:04, Niklas Söderlund wrote: > If the pixelformat is not supported it should not fail but be set to > something that works. While we are at it move the two different > checks of the pixelformat to the same statement. > > Signed-off-by: Niklas Söderlund > Reviewed-by: Laurent Pinchar

[PATCH v12 14/33] rcar-vin: align pixelformat check

2018-03-07 Thread Niklas Söderlund
If the pixelformat is not supported it should not fail but be set to something that works. While we are at it move the two different checks of the pixelformat to the same statement. Signed-off-by: Niklas Söderlund Reviewed-by: Laurent Pinchart --- drivers/media/platform/rcar-vin/rcar-v4l2.c | 1