[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADnNmFp9meVx5MMbCcvjSQaMv12K7j=_kB_ajJi5GoYEWegZcg@mail.gmail.com>
Date: Thu, 21 Sep 2023 21:24:09 +0800
From: Kun-Fa Lin <milkfafa@...il.com>
To: Hans Verkuil <hverkuil-cisco@...all.nl>
Cc: mchehab@...nel.org, avifishman70@...il.com, tmaimon77@...il.com,
tali.perry1@...il.com, venture@...gle.com, yuenn@...gle.com,
benjaminfair@...gle.com, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, andrzej.p@...labora.com,
devicetree@...r.kernel.org, linux-media@...r.kernel.org,
linux-kernel@...r.kernel.org, openbmc@...ts.ozlabs.org,
kwliu@...oton.com, kflin@...oton.com
Subject: Re: [PATCH v15 7/7] media: nuvoton: Add driver for NPCM video capture
and encoding engine
Hi Hans,
Thanks for your review.
> > +static const struct v4l2_ctrl_config npcm_ctrl_rect_count = {
> > + .id = V4L2_CID_NPCM_RECT_COUNT,
> > + .name = "NPCM Compressed Hextile Rectangle Count",
>
> This name is too long, it should be max 31 characters. Dropping the "Compressed " part
> might be best, I think that word isn't needed.
>
> > + .type = V4L2_CTRL_TYPE_INTEGER,
> > + .min = 0,
> > + .max = (MAX_WIDTH / RECT_W) * (MAX_HEIGHT / RECT_H),
> > + .step = 1,
> > + .def = 0,
> > +};
>
> With this fixed, and the sparse warnings fixed, it should be ready for merging.
OK. Will fix them in the next version.
Regards,
Marvin
Powered by blists - more mailing lists