Re: [PATCH v12 13/33] rcar-vin: update bytesperline and sizeimage calculation

2018-03-09 Thread Hans Verkuil
On 07/03/18 23:04, Niklas Söderlund wrote: > Remove over complicated logic to calculate the value for bytesperline > and sizeimage that was carried over from the soc_camera port. There is > no need to find the max value of bytesperline and sizeimage from > user-space as they are set to 0 before the

[PATCH v12 13/33] rcar-vin: update bytesperline and sizeimage calculation

2018-03-07 Thread Niklas Söderlund
Remove over complicated logic to calculate the value for bytesperline and sizeimage that was carried over from the soc_camera port. There is no need to find the max value of bytesperline and sizeimage from user-space as they are set to 0 before the max_t() operation. Signed-off-by: Niklas Söderlun