Re: [PATCH v4 12/27] rcar-vin: read subdevice format for crop only when needed

2017-05-04 Thread Sakari Ailus
Hi Niklas, On Fri, Apr 28, 2017 at 12:41:48AM +0200, Niklas Söderlund wrote: > Instead of caching the subdevice format each time the video device > format is set read it directly when its needed. As it turns out the > format is only needed when figuring out the max rectangle for cropping. > >

[PATCH v4 12/27] rcar-vin: read subdevice format for crop only when needed

2017-04-27 Thread Niklas Söderlund
Instead of caching the subdevice format each time the video device format is set read it directly when its needed. As it turns out the format is only needed when figuring out the max rectangle for cropping. This simplify the code and makes it clearer what the source format is used for.