This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[PATCH] DM81XX: CPSW: Enable CPTS interrupts correctly

Hello,

We are publishing this patch here because the linux GIT tree associated with this SoC (http://arago-project.org/git/projects/?p=linux-omap3.git;a=summary) has no mailing list for discussing patches (as far as we know). We hope it will be useful to others and be eventually merged in TI's source tree.

Regards
--
Delio Brignoli

Author: Delio Brignoli <dbrignoli@audioscience.com>
Date:   Sat Feb 9 05:46:04 2013 +0100

    CPSW: Enable CPTS interrupts correctly

diff --git a/drivers/net/cpsw.c b/drivers/net/cpsw.c
index bc0acec..d68f257 100644
--- a/drivers/net/cpsw.c
+++ b/drivers/net/cpsw.c
@@ -1231,7 +1231,7 @@ static int cpsw_ndo_open(struct net_device *ndev)
                /* Enable CPTS Interrupt */
                __raw_writel(0x01, &priv->cpts_reg->int_enable);
                /* Enable CPSW_SS Misc Interrupt */
-               __raw_writel(0x10, &priv->ss_regs->misc_stat);
+               __raw_writel(0x10, &priv->ss_regs->misc_en);
        } else {
                printk(KERN_ERR "Cannot find CPTS\n");
        }