diff mbox series

[02/19] media: i2c: ov4689: Fix typo in a comment

Message ID 20231211175023.1680247-3-mike.rudenko@gmail.com (mailing list archive)
State New
Headers show
Series Omnivision OV4689 refactoring and improvements | expand

Commit Message

Mikhail Rudenko Dec. 11, 2023, 5:50 p.m. UTC
Fix a spelling error in a comment.

Signed-off-by: Mikhail Rudenko <mike.rudenko@gmail.com>
---
 drivers/media/i2c/ov4689.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Laurent Pinchart Dec. 11, 2023, 6:01 p.m. UTC | #1
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 <mike.rudenko@gmail.com>

Starting with the easy one,

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
>  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;
Mikhail Rudenko Dec. 12, 2023, 12:22 p.m. UTC | #2
On 2023-12-11 at 20:01 +02, Laurent Pinchart <laurent.pinchart@ideasonboard.com> 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 <mike.rudenko@gmail.com>
>
> Starting with the easy one,
>
> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
>

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
diff mbox series

Patch

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;