Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0a9c2df263b2ef487e6b4015644cc18012d7411b
Commit:     0a9c2df263b2ef487e6b4015644cc18012d7411b
Parent:     03e5386e1e6e4f19c18c33fb69afd43054d448b2
Author:     Eric Miao <[EMAIL PROTECTED]>
AuthorDate: Thu Jul 26 02:01:04 2007 +0100
Committer:  Russell King <[EMAIL PROTECTED]>
CommitDate: Sat Jul 28 20:53:25 2007 +0100

    [ARM] 4527/1: pxa: fix pxa27x ac97 cold reset in ASoC due to CKEN change
    
    due to CKEN_xxx definition and pxa_set_cken() change,  the pxa27x
    ac97 cold reset is broken in ASoC, fixed to use bit index instead
    of bit mask
    
    Signed-off-by: eric miao <[EMAIL PROTECTED]>
    Signed-off-by: Russell King <[EMAIL PROTECTED]>
---
 sound/soc/pxa/pxa2xx-ac97.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/pxa/pxa2xx-ac97.c b/sound/soc/pxa/pxa2xx-ac97.c
index 129d851..dd14abc 100644
--- a/sound/soc/pxa/pxa2xx-ac97.c
+++ b/sound/soc/pxa/pxa2xx-ac97.c
@@ -160,9 +160,9 @@ static void pxa2xx_ac97_cold_reset(struct snd_ac97 *ac97)
        gsr_bits = 0;
 #ifdef CONFIG_PXA27x
        /* PXA27x Developers Manual section 13.5.2.2.1 */
-       pxa_set_cken(1 << 31, 1);
+       pxa_set_cken(31, 1);
        udelay(5);
-       pxa_set_cken(1 << 31, 0);
+       pxa_set_cken(31, 0);
        GCR = GCR_COLD_RST;
        udelay(50);
 #else
-
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