Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4df20535ec52fb7eba604eb1ba77148f92ab8edd
Commit:     4df20535ec52fb7eba604eb1ba77148f92ab8edd
Parent:     37435446244958edc36b33cf2b87c2f5cd433ba4
Author:     Timur Tabi <[EMAIL PROTECTED]>
AuthorDate: Wed Nov 14 12:07:58 2007 +0100
Committer:  Mercurial server <[EMAIL PROTECTED]>
CommitDate: Tue Nov 20 19:52:37 2007 +0100

    [ALSA] fix private data pointer calculation in CS4270 driver
    
    Fix the calculation of the private_data pointer in the CS4270 driver.
    
    Signed-off-by: Timur Tabi <[EMAIL PROTECTED]>
    Signed-off-by: Takashi Iwai <[EMAIL PROTECTED]>
    Signed-off-by: Jaroslav Kysela <[EMAIL PROTECTED]>
---
 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 5d601ad..abac628 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)
        codec->owner = THIS_MODULE;
        codec->dai = &cs4270_dai;
        codec->num_dai = 1;
-       codec->private_data = codec + ALIGN(sizeof(struct snd_soc_codec), 4);
+       codec->private_data = (void *) codec +
+               ALIGN(sizeof(struct snd_soc_codec), 4);
 
        socdev->codec = codec;
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to