Fix a spelling error in a comment.
Signed-off-by: Mikhail Rudenko <[email protected]>
---
drivers/media/i2c/ov4689.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/i2c/ov4689.c b/drivers/media/i2c/ov4689.c
index ff5213862974..53dcfc8685d4 100644
--- a/drivers/media/i2c/ov4689.c
+++ b/drivers/media/i2c/ov4689.c
@@ -692,7 +692,7 @@ static int ov4689_set_ctrl(struct v4l2_ctrl *ctrl)
switch (ctrl->id) {
case V4L2_CID_EXPOSURE:
- /* 4 least significant bits of expsoure are fractional part */
+ /* 4 least significant bits of exposure are fractional part */
ret = ov4689_write_reg(ov4689->client, OV4689_REG_EXPOSURE,
OV4689_REG_VALUE_24BIT, ctrl->val << 4);
break;
--
2.43.0
On Mon, Dec 11, 2023 at 08:50:05PM +0300, Mikhail Rudenko wrote:
> Fix a spelling error in a comment.
>
> Signed-off-by: Mikhail Rudenko <[email protected]>
Starting with the easy one,
Reviewed-by: Laurent Pinchart <[email protected]>
> ---
> drivers/media/i2c/ov4689.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/media/i2c/ov4689.c b/drivers/media/i2c/ov4689.c
> index ff5213862974..53dcfc8685d4 100644
> --- a/drivers/media/i2c/ov4689.c
> +++ b/drivers/media/i2c/ov4689.c
> @@ -692,7 +692,7 @@ static int ov4689_set_ctrl(struct v4l2_ctrl *ctrl)
>
> switch (ctrl->id) {
> case V4L2_CID_EXPOSURE:
> - /* 4 least significant bits of expsoure are fractional part */
> + /* 4 least significant bits of exposure are fractional part */
> ret = ov4689_write_reg(ov4689->client, OV4689_REG_EXPOSURE,
> OV4689_REG_VALUE_24BIT, ctrl->val << 4);
> break;
--
Regards,
Laurent Pinchart
On 2023-12-11 at 20:01 +02, Laurent Pinchart <[email protected]> wrote:
> On Mon, Dec 11, 2023 at 08:50:05PM +0300, Mikhail Rudenko wrote:
>> Fix a spelling error in a comment.
>>
>> Signed-off-by: Mikhail Rudenko <[email protected]>
>
> Starting with the easy one,
>
> Reviewed-by: Laurent Pinchart <[email protected]>
>
Hi Laurent,
and thanks for the review!
>> ---
>> drivers/media/i2c/ov4689.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/media/i2c/ov4689.c b/drivers/media/i2c/ov4689.c
>> index ff5213862974..53dcfc8685d4 100644
>> --- a/drivers/media/i2c/ov4689.c
>> +++ b/drivers/media/i2c/ov4689.c
>> @@ -692,7 +692,7 @@ static int ov4689_set_ctrl(struct v4l2_ctrl *ctrl)
>>
>> switch (ctrl->id) {
>> case V4L2_CID_EXPOSURE:
>> - /* 4 least significant bits of expsoure are fractional part */
>> + /* 4 least significant bits of exposure are fractional part */
>> ret = ov4689_write_reg(ov4689->client, OV4689_REG_EXPOSURE,
>> OV4689_REG_VALUE_24BIT, ctrl->val << 4);
>> break;
--
Best regards,
Mikhail Rudenko