armbian_build/patch/kernel/archive/sunxi-5.16/patches.megous/sound-soc-sun8i-codec-Drop-debug-statements.patch
The-going f80117f21c
Recycling of megous v5.16.4 patches (#3449)
* Recycling of megous v5.16.4 patches

The patches were sorted as far as possible. Some patches are renamed
according to their place of application. The length of the patch name
has been changed to improve readability using
the `git format-patch --filename-max-length=75` method.

The folder containing the patches will have the name `patches.name`
and the corresponding file `series.name` for the convenience
of processing and moving them upstream. But the control file remains
`series.conf`.


Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Add a series of armbian patches for 5.16

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Remove patches whose fixes are already in the kernel

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2022-02-02 11:03:44 +01:00

43 lines
1.2 KiB
Diff

From 3cb5507a437be41f86451581b3ec716429ffe53a Mon Sep 17 00:00:00 2001
From: Ondrej Jirman <megous@megous.com>
Date: Tue, 11 Feb 2020 14:33:08 +0100
Subject: [PATCH 220/446] sound: soc: sun8i-codec: Drop debug statements
Everything seems to work. :)
Signed-off-by: Ondrej Jirman <megous@megous.com>
---
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 3bcc7457e..d114e615f 100644
--- a/sound/soc/sunxi/sun8i-codec.c
+++ b/sound/soc/sunxi/sun8i-codec.c
@@ -1594,21 +1594,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.31.1