[PATCH RESEND] ASoC: stac9766 - set reg_cache_default tostac9766_reg

From: Axel Lin
Date: Sun Nov 21 2010 - 19:16:10 EST


Looks like this is missing during multi-component conversion.

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



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/