2010-11-22 00:16:03

by Axel Lin

[permalink] [raw]
Subject: [PATCH RESEND] ASoC: stac9766 - set reg_cache_default to stac9766_reg

Looks like this is missing during multi-component conversion.

Signed-off-by: Axel Lin <[email protected]>
---
This resend fixes the subject line of the patch.

sound/soc/codecs/stac9766.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sound/soc/codecs/stac9766.c b/sound/soc/codecs/stac9766.c
index 8aad3a2..04c5224 100644
--- a/sound/soc/codecs/stac9766.c
+++ b/sound/soc/codecs/stac9766.c
@@ -384,6 +384,7 @@ static struct snd_soc_codec_driver soc_codec_dev_stac9766 = {
.reg_cache_size = sizeof(stac9766_reg),
.reg_word_size = sizeof(u16),
.reg_cache_step = 2,
+ .reg_cache_default = stac9766_reg,
};

static __devinit int stac9766_probe(struct platform_device *pdev)
--
1.7.0.4



2010-11-22 13:43:52

by Liam Girdwood

[permalink] [raw]
Subject: Re: [PATCH RESEND] ASoC: stac9766 - set reg_cache_default to stac9766_reg

On Mon, 2010-11-22 at 08:20 +0800, Axel Lin wrote:
> Looks like this is missing during multi-component conversion.
>
> Signed-off-by: Axel Lin <[email protected]>
> ---
> This resend fixes the subject line of the patch.
>
> sound/soc/codecs/stac9766.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
Both this and alc5263 memory leak fix

Acked-by: Liam Girdwood <[email protected]>
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk

2010-11-22 14:00:57

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH RESEND] ASoC: stac9766 - set reg_cache_default to stac9766_reg

On Mon, Nov 22, 2010 at 08:20:54AM +0800, Axel Lin wrote:
> Looks like this is missing during multi-component conversion.
>
> Signed-off-by: Axel Lin <[email protected]>

Applied, thanks.