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

Previous thread: AVR32 build fixes by Sven Schnelle on Sunday, November 21, 2010 - 4:28 pm. (7 messages)

Next thread: [PATCH] romfs: have romfs_fs.h pull in necessary headers by Mike Frysinger on Sunday, November 21, 2010 - 5:24 pm. (5 messages)
From: Axel Lin
Date: Sunday, November 21, 2010 - 5:20 pm

Looks like this is missing during multi-component conversion.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
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



--

From: Liam Girdwood
Date: Monday, November 22, 2010 - 6:43 am

Both this and alc5263 memory leak fix

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

--

From: Mark Brown
Date: Monday, November 22, 2010 - 7:00 am

Applied, thanks.
--

Previous thread: AVR32 build fixes by Sven Schnelle on Sunday, November 21, 2010 - 4:28 pm. (7 messages)

Next thread: [PATCH] romfs: have romfs_fs.h pull in necessary headers by Mike Frysinger on Sunday, November 21, 2010 - 5:24 pm. (5 messages)