[alsa-devel] [PATCH] ASoC: rt5645: enable speaker protection features

Mark Brown broonie at kernel.org
Fri Jun 23 13:33:24 CEST 2017


On Fri, Jun 23, 2017 at 10:24:57AM +0800, Bard Liao wrote:

> This patch is uploaded for enabling the speaker protection features
> of the audio codec.

No control of these?

> @@ -171,7 +172,7 @@ static const struct reg_default rt5645_reg[] = {
>  	{ 0x9c, 0x0aea },
>  	{ 0x9d, 0x000c },
>  	{ 0x9e, 0x0400 },
> -	{ 0xa0, 0xa0a8 },
> +	{ 0xa0, 0xa0e8 },
>  	{ 0xa1, 0x0059 },
>  	{ 0xa2, 0x0001 },
>  	{ 0xae, 0x6000 },

You shouldn't be changing the register defaults away from the physical
defaults, just do it with a normal register write.  Changing the
defaults will break cache resyncing.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20170623/642ef878/attachment.sig>


More information about the Alsa-devel mailing list