Re: [PATCH v9.1] media: imx258: Add imx258 camera sensor driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 23, 2018 at 10:50 PM, Sakari Ailus
<sakari.ailus@xxxxxxxxxxxxxxx> wrote:
> Hi Tomasz,
>
> On Fri, Mar 23, 2018 at 08:43:50PM +0900, Tomasz Figa wrote:
>> Hi Andy,
>>
>> Some issues found when reviewing cherry pick of this patch to Chrome
>> OS kernel. Please see inline.
>>
>> On Sat, Mar 17, 2018 at 1:38 AM, Andy Yeh <andy.yeh@xxxxxxxxx> wrote:
>>
>> [snip]
>>
>> > +       case V4L2_CID_VBLANK:
>> > +               /*
>> > +                * Auto Frame Length Line Control is enabled by default.
>> > +                * Not need control Vblank Register.
>> > +                */
>>
>> What is the meaning of this control then? Should it be read-only?
>
> The read-only flag is for the uAPI; the control framework still passes
> through changes to the control value done using kAPI to the driver.

The read-only flag is not even set in current code.

Also, I'm not sure about the control framework setting read-only
control. According to the code, it doesn't:
https://elixir.bootlin.com/linux/latest/source/drivers/media/v4l2-core/v4l2-ctrls.c#L2477

Best regards,
Tomasz



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux