Re: [PATCH] v4l2-ctrls.c: fix broken auto cluster handling

2018-07-02 Thread Hugues FRUCHET
Many thanks Hans, This fix my issue with ov5640, Best regards, Hugues. On 06/29/2018 12:12 PM, Hans Verkuil wrote: > When you switch from auto to manual mode for an auto-cluster (e.g. > autogain+gain controls), then the current HW value has to be copied > to the current control value. However, h

[PATCH] v4l2-ctrls.c: fix broken auto cluster handling

2018-06-29 Thread Hans Verkuil
When you switch from auto to manual mode for an auto-cluster (e.g. autogain+gain controls), then the current HW value has to be copied to the current control value. However, has_changed was never set to true, so new_to_cur didn't actually copy this value. Signed-off-by: Hans Verkuil Reported-by: