43 lines
1.3 KiB
Diff
43 lines
1.3 KiB
Diff
|
From 4b4d753be8308322f1178b9567dcfa79c21cebac Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?Ond=C5=99ej=20Jirman?= <megi@xff.cz>
|
||
|
Date: Tue, 11 Feb 2020 14:33:08 +0100
|
||
|
Subject: [PATCH 264/464] sound: soc: sun8i-codec: Drop debug statements
|
||
|
|
||
|
Everything seems to work. :)
|
||
|
|
||
|
Signed-off-by: Ondrej Jirman <megi@xff.cz>
|
||
|
---
|
||
|
sound/soc/sunxi/sun8i-codec.c | 9 +--------
|
||
|
1 file changed, 1 insertion(+), 8 deletions(-)
|
||
|
|
||
|
diff --git a/sound/soc/sunxi/sun8i-codec.c b/sound/soc/sunxi/sun8i-codec.c
|
||
|
index 5a5997c29a92..da86e93346ea 100644
|
||
|
--- a/sound/soc/sunxi/sun8i-codec.c
|
||
|
+++ b/sound/soc/sunxi/sun8i-codec.c
|
||
|
@@ -1593,21 +1593,14 @@ static irqreturn_t sun8i_codec_jack_irq(int irq, void *dev_id)
|
||
|
static int sun8i_codec_ac100_regmap_read(void *context, unsigned int reg, unsigned int *val)
|
||
|
{
|
||
|
struct sun8i_codec *scodec = context;
|
||
|
- int ret;
|
||
|
-
|
||
|
- ret = regmap_read(scodec->ac100_regmap, reg / 4, val);
|
||
|
- if (ret == 0)
|
||
|
- pr_err("R%02x => %04x\n", reg / 4, *val);
|
||
|
|
||
|
- return ret;
|
||
|
+ return regmap_read(scodec->ac100_regmap, reg / 4, val);
|
||
|
}
|
||
|
|
||
|
static int sun8i_codec_ac100_regmap_write(void *context, unsigned int reg, unsigned int val)
|
||
|
{
|
||
|
struct sun8i_codec *scodec = context;
|
||
|
|
||
|
- pr_err("W%02x <= %04x\n", reg / 4, val);
|
||
|
-
|
||
|
return regmap_write(scodec->ac100_regmap, reg / 4, val);
|
||
|
}
|
||
|
|
||
|
--
|
||
|
2.34.1
|
||
|
|