[lkml]   [2019]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 0/7] media: atmel: atmel-isc: new features
On 4/9/19 1:07 PM, wrote:
> From: Eugen Hristev <>
> This series includes feature rework, feature additions and bug fixes for the
> atmel-isc driver.
> It applies only on top of my previous patchset:
> media: atmel: atmel-isc: removed ARGB32 added ABGR32 and XBGR32
> media: atmel: atmel-isc: reworked driver and formats
> available at:
> One open question is regarding the WHITE_BALANCE error returns: it would seem
> logical to return EAGAIN or EBUSY, but this is not compliant with
> v4l2-compliance.
> Does it make sense to return success on every occasion? even if the
> DO_WHITE_BALANCE does nothing?
> In this series I used the return EAGAIN or EBUSY from the v4l2-ctrls, but I
> can change if always success is a better way of returning (even if normally
> a return value serves this exact purpose - return some code )

See my comments. Use v4l2_ctrl_activate() instead to mark controls active
or inactive and the control framework will do the rest.

I think it would speed up matters if you split up your series: one series
containing just fixes (I can merged those quickly) and one for the new



> Eugen Hristev (7):
> media: atmel: atmel-isc: add safe checks and fixed wrong ISC state in
> error case
> media: atmel: atmel-isc: reworked white balance feature
> media: v4l2-ctrl: fix flags for DO_WHITE_BALANCE
> media: atmel: atmel-isc: add support for DO_WHITE_BALANCE
> media: atmel: atmel-isc: limit incoming pixels per frame
> media: atmel: atmel-isc: fix INIT_WORK misplacement
> media: atmel: atmel-isc: fix asd memory allocation
> drivers/media/platform/atmel/atmel-isc-regs.h | 25 +-
> drivers/media/platform/atmel/atmel-isc.c | 346 +++++++++++++++++++++++---
> drivers/media/v4l2-core/v4l2-ctrls.c | 1 +
> 3 files changed, 336 insertions(+), 36 deletions(-)

 \ /
  Last update: 2019-04-10 16:32    [W:0.093 / U:2.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site