]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: tas2781: Add TAS2563 into the Header
authorShenghao Ding <shenghao-ding@ti.com>
Tue, 16 Jul 2024 06:41:17 +0000 (14:41 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 29 Jul 2024 16:40:09 +0000 (17:40 +0100)
Add TAS2563 into the Header in case of misunderstanding and add
channel No information for error debug in tasdevice_dev_read.

Signed-off-by: Shenghao Ding <shenghao-ding@ti.com>
Link: https://patch.msgid.link/20240716064120.158-1-shenghao-ding@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2781-comlib.c

index 1fbf4560f5cc2639ad89b2b406e349bde9ef2092..58abbc098a917baa749024d70a0c5b946accf321 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 //
-// TAS2781 Common functions for HDA and ASoC Audio drivers
+// TAS2563/TAS2781 Common functions for HDA and ASoC Audio drivers
 //
 // Copyright 2023 - 2024 Texas Instruments, Inc.
 //
@@ -64,8 +64,8 @@ static int tasdevice_change_chn_book(struct tasdevice_priv *tas_priv,
                         */
                        ret = regmap_write(map, TASDEVICE_PAGE_SELECT, 0);
                        if (ret < 0) {
-                               dev_err(tas_priv->dev, "%s, E=%d\n",
-                                       __func__, ret);
+                               dev_err(tas_priv->dev, "%s, E=%d channel:%d\n",
+                                       __func__, ret, chn);
                                goto out;
                        }
                }