[PATCH] ASoC: codecs: idt821034: fix wrong log in idt821034_chip_direction_output()

Cryolitia PukNgae via B4 Relay posted 1 patch 1 month, 1 week ago
sound/soc/codecs/idt821034.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] ASoC: codecs: idt821034: fix wrong log in idt821034_chip_direction_output()
Posted by Cryolitia PukNgae via B4 Relay 1 month, 1 week ago
From: Cryolitia PukNgae <cryolitia@uniontech.com>

Change `dir in` to `dir out`

Suggested-by: Jun Zhan <zhanjun@uniontech.com>
Signed-off-by: Cryolitia PukNgae <cryolitia@uniontech.com>
---
 sound/soc/codecs/idt821034.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/idt821034.c b/sound/soc/codecs/idt821034.c
index 6738cf21983b0dc58e162cbfaacaedb5edaaa245..a03d4e5e7d144195622ea0cbf6b6c6ba95642aa7 100644
--- a/sound/soc/codecs/idt821034.c
+++ b/sound/soc/codecs/idt821034.c
@@ -1067,7 +1067,7 @@ static int idt821034_chip_direction_output(struct gpio_chip *c, unsigned int off
 
 	ret = idt821034_set_slic_conf(idt821034, ch, slic_conf);
 	if (ret) {
-		dev_err(&idt821034->spi->dev, "dir in gpio %d (%u, 0x%x) failed (%d)\n",
+		dev_err(&idt821034->spi->dev, "dir out gpio %d (%u, 0x%x) failed (%d)\n",
 			offset, ch, mask, ret);
 	}
 

---
base-commit: 3957a5720157264dcc41415fbec7c51c4000fc2d
change-id: 20250822-idt821034-0b5cb86b0c96

Best regards,
-- 
Cryolitia PukNgae <cryolitia@uniontech.com>
Re: [PATCH] ASoC: codecs: idt821034: fix wrong log in idt821034_chip_direction_output()
Posted by Mark Brown 1 month, 1 week ago
On Fri, 22 Aug 2025 18:28:33 +0800, Cryolitia PukNgae wrote:
> Change `dir in` to `dir out`
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: codecs: idt821034: fix wrong log in idt821034_chip_direction_output()
      commit: b1c99d5bd24ce0a1193d8476d83bf8c8bc633266

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
Re: [PATCH] ASoC: codecs: idt821034: fix wrong log in idt821034_chip_direction_output()
Posted by Herve Codina 1 month, 1 week ago
Hi Cryolitia,

On Fri, 22 Aug 2025 18:28:33 +0800
Cryolitia PukNgae via B4 Relay <devnull+cryolitia.uniontech.com@kernel.org> wrote:

> From: Cryolitia PukNgae <cryolitia@uniontech.com>
> 
> Change `dir in` to `dir out`
> 
> Suggested-by: Jun Zhan <zhanjun@uniontech.com>
> Signed-off-by: Cryolitia PukNgae <cryolitia@uniontech.com>
> ---
>  sound/soc/codecs/idt821034.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sound/soc/codecs/idt821034.c b/sound/soc/codecs/idt821034.c
> index 6738cf21983b0dc58e162cbfaacaedb5edaaa245..a03d4e5e7d144195622ea0cbf6b6c6ba95642aa7 100644
> --- a/sound/soc/codecs/idt821034.c
> +++ b/sound/soc/codecs/idt821034.c
> @@ -1067,7 +1067,7 @@ static int idt821034_chip_direction_output(struct gpio_chip *c, unsigned int off
>  
>  	ret = idt821034_set_slic_conf(idt821034, ch, slic_conf);
>  	if (ret) {
> -		dev_err(&idt821034->spi->dev, "dir in gpio %d (%u, 0x%x) failed (%d)\n",
> +		dev_err(&idt821034->spi->dev, "dir out gpio %d (%u, 0x%x) failed (%d)\n",
>  			offset, ch, mask, ret);
>  	}
>  
> 
> ---
> base-commit: 3957a5720157264dcc41415fbec7c51c4000fc2d
> change-id: 20250822-idt821034-0b5cb86b0c96
> 

Thanks for the patch.

Acked-by: Herve Codina <herve.codina@bootlin.com>

Best regards,
Hervé