Re: [PATCH v8 04/19] media: v4l2-ioctl: S_CTRL output the right value

2021-03-20 Thread Hans Verkuil
On 19/03/2021 18:08, Ricardo Ribalda wrote: > If the driver does not implement s_ctrl, but it does implement > s_ext_ctrls, we convert the call. > > When that happens we have also to convert back the response from > s_ext_ctrls. > > Fixes v4l2_compliance: > Control ioctls (Input 0): >

[PATCH v8 04/19] media: v4l2-ioctl: S_CTRL output the right value

2021-03-19 Thread Ricardo Ribalda
If the driver does not implement s_ctrl, but it does implement s_ext_ctrls, we convert the call. When that happens we have also to convert back the response from s_ext_ctrls. Fixes v4l2_compliance: Control ioctls (Input 0): fail: v4l2-test-controls.cpp(411): returned control value