build/patch/kernel/archive/sunxi-6.5/patches.megous/media-gc2145-Disable-debug-output.patch

38 lines
1.0 KiB
Diff
Raw Normal View History

From f188824d43414e7f9b9e2f23330502e12eddf993 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ond=C5=99ej=20Jirman?= <megi@xff.cz>
Date: Wed, 27 Oct 2021 17:22:51 +0200
Subject: [PATCH 039/464] media: gc2145: Disable debug output
People don't like it. Hmm...
Signed-off-by: Ondrej Jirman <megi@xff.cz>
---
drivers/media/i2c/gc2145.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/media/i2c/gc2145.c b/drivers/media/i2c/gc2145.c
index bc5b55cb791b..d3d16a05ca21 100644
--- a/drivers/media/i2c/gc2145.c
+++ b/drivers/media/i2c/gc2145.c
@@ -8,7 +8,7 @@
* (at your option) any later version.
*/
-#define DEBUG
+//#define DEBUG
#include <asm/div64.h>
#include <linux/clk.h>
@@ -374,7 +374,7 @@ static int gc2145_switch_bank(struct gc2145_dev *sensor, u16 reg)
return ret;
sensor->current_bank = bank;
- dev_info(&sensor->i2c_client->dev, "bank switch: 0x%02x\n",
+ dev_dbg(&sensor->i2c_client->dev, "bank switch: 0x%02x\n",
(unsigned int)sensor->current_bank);
}
--
2.34.1