Re: [PATCH] v4l: rcar-fcp: Don't force users to check for disabled FCP support

2016-08-18 Thread Niklas Söderlund
On 2016-08-17 16:32:08 +0300, Laurent Pinchart wrote: > The rcar_fcp_enable() function immediately returns successfully when the > FCP device pointer is NULL to avoid forcing the users to check the FCP > device manually before every call. However, the stub version of the > function used when the FC

Re: [PATCH] v4l: rcar-fcp: Don't force users to check for disabled FCP support

2016-08-17 Thread Geert Uytterhoeven
On Wed, Aug 17, 2016 at 3:32 PM, Laurent Pinchart wrote: > The rcar_fcp_enable() function immediately returns successfully when the > FCP device pointer is NULL to avoid forcing the users to check the FCP > device manually before every call. However, the stub version of the > function used when th

[PATCH] v4l: rcar-fcp: Don't force users to check for disabled FCP support

2016-08-17 Thread Laurent Pinchart
The rcar_fcp_enable() function immediately returns successfully when the FCP device pointer is NULL to avoid forcing the users to check the FCP device manually before every call. However, the stub version of the function used when the FCP driver is disabled returns -ENOSYS unconditionally, resultin