diff mbox series

media: dw100: Rectify debug log

Message ID 20240914142928.17215-1-umang.jain@ideasonboard.com
State Accepted
Commit 0d4d90b9416bbe4bbddbea8182202b4b63ed5ecf
Headers show
Series media: dw100: Rectify debug log | expand

Commit Message

Umang Jain Sept. 14, 2024, 2:29 p.m. UTC
Rectify dev_dbg() log of dw100_hw_set_destination() from
"Set HW source registers" to "Set HW destination registers".

Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
---
 drivers/media/platform/nxp/dw100/dw100.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Xavier Roumegue (OSS) Sept. 16, 2024, 7:47 a.m. UTC | #1
Hi Umang,

On 9/14/24 4:40 PM, Kieran Bingham wrote:
> Quoting Umang Jain (2024-09-14 15:29:28)
>> Rectify dev_dbg() log of dw100_hw_set_destination() from
>> "Set HW source registers" to "Set HW destination registers".
>>
> 
> Yes, that looks pretty clear to be a copy/paste error when the function
> was duplicated, and would make reading the logs confusing.
> 
> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
> 
>> Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
>> ---
>>   drivers/media/platform/nxp/dw100/dw100.c | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/media/platform/nxp/dw100/dw100.c b/drivers/media/platform/nxp/dw100/dw100.c
>> index 0024d6175ad9..394f1f6129e3 100644
>> --- a/drivers/media/platform/nxp/dw100/dw100.c
>> +++ b/drivers/media/platform/nxp/dw100/dw100.c
>> @@ -1311,7 +1311,7 @@ static void dw100_hw_set_destination(struct dw100_device *dw_dev,
>>          }
>>   
>>          dev_dbg(&dw_dev->pdev->dev,
>> -               "Set HW source registers for %ux%u - stride %u, pixfmt: %p4cc, dma:%pad\n",
>> +               "Set HW destination registers for %ux%u - stride %u, pixfmt: %p4cc, dma:%pad\n",
>>                  width, height, stride, &fourcc, &addr_y);
>>   
>>          /* Pixel Format */
>> -- 
>> 2.45.2
>>
Thanks for your patch. Indeed..

Reviewed-by: Xavier Roumegue <xavier.roumegue@oss.nxp.com>
diff mbox series

Patch

diff --git a/drivers/media/platform/nxp/dw100/dw100.c b/drivers/media/platform/nxp/dw100/dw100.c
index 0024d6175ad9..394f1f6129e3 100644
--- a/drivers/media/platform/nxp/dw100/dw100.c
+++ b/drivers/media/platform/nxp/dw100/dw100.c
@@ -1311,7 +1311,7 @@  static void dw100_hw_set_destination(struct dw100_device *dw_dev,
 	}
 
 	dev_dbg(&dw_dev->pdev->dev,
-		"Set HW source registers for %ux%u - stride %u, pixfmt: %p4cc, dma:%pad\n",
+		"Set HW destination registers for %ux%u - stride %u, pixfmt: %p4cc, dma:%pad\n",
 		width, height, stride, &fourcc, &addr_y);
 
 	/* Pixel Format */