Commit e620b496 authored by Shenghao Ding's avatar Shenghao Ding Committed by Mark Brown

ASoC: tas2781: Add TAS2563 into the Header

Add TAS2563 into the Header in case of misunderstanding and add
channel No information for error debug in tasdevice_dev_read.
Signed-off-by: default avatarShenghao Ding <shenghao-ding@ti.com>
Link: https://patch.msgid.link/20240716064120.158-1-shenghao-ding@ti.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 78036939
// SPDX-License-Identifier: GPL-2.0 // 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. // Copyright 2023 - 2024 Texas Instruments, Inc.
// //
...@@ -64,8 +64,8 @@ static int tasdevice_change_chn_book(struct tasdevice_priv *tas_priv, ...@@ -64,8 +64,8 @@ static int tasdevice_change_chn_book(struct tasdevice_priv *tas_priv,
*/ */
ret = regmap_write(map, TASDEVICE_PAGE_SELECT, 0); ret = regmap_write(map, TASDEVICE_PAGE_SELECT, 0);
if (ret < 0) { if (ret < 0) {
dev_err(tas_priv->dev, "%s, E=%d\n", dev_err(tas_priv->dev, "%s, E=%d channel:%d\n",
__func__, ret); __func__, ret, chn);
goto out; goto out;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment