diff mbox series

ASoC: rt711-sdw: add missing readable registers

Message ID 20240704092327.652609-1-yung-chuan.liao@linux.intel.com (mailing list archive)
State Accepted
Commit 7441e7f3e682436a30afe50b858eac94295047b7
Headers show
Series ASoC: rt711-sdw: add missing readable registers | expand

Commit Message

Bard Liao July 4, 2024, 9:23 a.m. UTC
Those registers will be used when JD source is RT711_JD2_1P8V_1PORT.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
---
 sound/soc/codecs/rt711-sdw.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Shuming [θŒƒζ›ΈιŠ˜] July 4, 2024, 10:47 a.m. UTC | #1
> Those registers will be used when JD source is RT711_JD2_1P8V_1PORT.
> 
> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
> ---

Acked-by: Shuming Fan <shumingf@realtek.com>

Thanks.

>  sound/soc/codecs/rt711-sdw.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/sound/soc/codecs/rt711-sdw.c b/sound/soc/codecs/rt711-sdw.c
> index 8ca8bcd177ab..dfda6bb5c6f8 100644
> --- a/sound/soc/codecs/rt711-sdw.c
> +++ b/sound/soc/codecs/rt711-sdw.c
> @@ -38,7 +38,9 @@ static bool rt711_readable_register(struct device *dev,
> unsigned int reg)
>         case 0x8300 ... 0x83ff:
>         case 0x9c00 ... 0x9cff:
>         case 0xb900 ... 0xb9ff:
> +       case 0x752008:
>         case 0x752009:
> +       case 0x75200b:
>         case 0x752011:
>         case 0x75201a:
>         case 0x752045:
> --
> 2.43.0
>
Mark Brown July 4, 2024, 5:19 p.m. UTC | #2
On Thu, 04 Jul 2024 17:23:27 +0800, Bard Liao wrote:
> Those registers will be used when JD source is RT711_JD2_1P8V_1PORT.
> 
> 

Applied to

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

Thanks!

[1/1] ASoC: rt711-sdw: add missing readable registers
      commit: 7441e7f3e682436a30afe50b858eac94295047b7

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
diff mbox series

Patch

diff --git a/sound/soc/codecs/rt711-sdw.c b/sound/soc/codecs/rt711-sdw.c
index 8ca8bcd177ab..dfda6bb5c6f8 100644
--- a/sound/soc/codecs/rt711-sdw.c
+++ b/sound/soc/codecs/rt711-sdw.c
@@ -38,7 +38,9 @@  static bool rt711_readable_register(struct device *dev, unsigned int reg)
 	case 0x8300 ... 0x83ff:
 	case 0x9c00 ... 0x9cff:
 	case 0xb900 ... 0xb9ff:
+	case 0x752008:
 	case 0x752009:
+	case 0x75200b:
 	case 0x752011:
 	case 0x75201a:
 	case 0x752045: