diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-26 22:04:24 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-26 22:04:24 -0500 |
commit | 09cfd929860532f95c9944d39abbb043b8082f36 (patch) | |
tree | b06c1666cc5e40fa350103fddcea780455b28799 /sound/soc/codecs/cs4270.c | |
parent | 8c6531f7a99f29ba8817ffb12cc9ecf190049bd6 (diff) | |
parent | 7cb41c65b3fc547da4050721445d07277768aa37 (diff) |
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/perex/alsa
* 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/perex/alsa:
[ALSA] version 1.0.15
[ALSA] emu10k1 - Check value ranges in ctl callbacks
[ALSA] emu10k1: Add mixer controls parameter checking.
[ALSA] fix private data pointer calculation in CS4270 driver
[ALSA] portman2x4 - Fix probe error
[ALSA] ca0106 - Fix write proc assignment
[ALSA] s3c2443-ac97: compilation fix
[ALSA] hda-codec - Revert volume knob controls in STAC codecs
[ALSA] ca0106 - Check value range in ctl callbacks
[ALSA] hda-codec - Check PINCAP only for PIN widgets
[ALSA] mpu401: fix recursive locking in timer
[ALSA] cmipci: fix FLINKON/OFF bits
[ALSA] hda-codec - Disable shared stream on AD1986A
Diffstat (limited to 'sound/soc/codecs/cs4270.c')
-rw-r--r-- | sound/soc/codecs/cs4270.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs4270.c b/sound/soc/codecs/cs4270.c index 5d601ad6da70..abac62866da8 100644 --- a/sound/soc/codecs/cs4270.c +++ b/sound/soc/codecs/cs4270.c | |||
@@ -725,7 +725,8 @@ static int cs4270_probe(struct platform_device *pdev) | |||
725 | codec->owner = THIS_MODULE; | 725 | codec->owner = THIS_MODULE; |
726 | codec->dai = &cs4270_dai; | 726 | codec->dai = &cs4270_dai; |
727 | codec->num_dai = 1; | 727 | codec->num_dai = 1; |
728 | codec->private_data = codec + ALIGN(sizeof(struct snd_soc_codec), 4); | 728 | codec->private_data = (void *) codec + |
729 | ALIGN(sizeof(struct snd_soc_codec), 4); | ||
729 | 730 | ||
730 | socdev->codec = codec; | 731 | socdev->codec = codec; |
731 | 732 | ||