summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorFrank Li <Frank.Li@freescale.com>2010-04-12 17:36:25 +0800
committerAlejandro Gonzalez <alex.gonzalez@digi.com>2010-05-25 11:20:23 +0200
commit746bb4c23ddd13ccd6b254e84c4e84f34dacf441 (patch)
tree14823559275f625a2c02542e23e9178257686087 /arch
parentad632713fac43a52aa5405c295303955d1e400e8 (diff)
ENGR00122467 iMX23/iMX28 Avoid write bit to read only register
HW_APBH_CTRL2 and HW_APBX_CTRL2 high 16bit is ready only Signed-off-by: Frank Li <Frank.Li@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/plat-mxs/dma-apbh.c2
-rw-r--r--arch/arm/plat-mxs/dma-apbx.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/plat-mxs/dma-apbh.c b/arch/arm/plat-mxs/dma-apbh.c
index d87172ebb02e..e7fb96003f6e 100644
--- a/arch/arm/plat-mxs/dma-apbh.c
+++ b/arch/arm/plat-mxs/dma-apbh.c
@@ -143,10 +143,8 @@ mxs_dma_apbh_enable_irq(struct mxs_dma_device *pdev,
{
if (enable) {
__raw_writel(1 << (chan + 16), pdev->base + HW_APBH_CTRL1_SET);
- __raw_writel(1 << (chan + 16), pdev->base + HW_APBH_CTRL2_SET);
} else {
__raw_writel(1 << (chan + 16), pdev->base + HW_APBH_CTRL1_CLR);
- __raw_writel(1 << (chan + 16), pdev->base + HW_APBH_CTRL2_CLR);
}
}
diff --git a/arch/arm/plat-mxs/dma-apbx.c b/arch/arm/plat-mxs/dma-apbx.c
index cb86538b1762..c27414f8c18d 100644
--- a/arch/arm/plat-mxs/dma-apbx.c
+++ b/arch/arm/plat-mxs/dma-apbx.c
@@ -115,10 +115,8 @@ mxs_dma_apbx_enable_irq(struct mxs_dma_device *pdev,
{
if (enable) {
__raw_writel(1 << (chan + 16), pdev->base + HW_APBX_CTRL1_SET);
- __raw_writel(1 << (chan + 16), pdev->base + HW_APBX_CTRL2_SET);
} else {
__raw_writel(1 << (chan + 16), pdev->base + HW_APBX_CTRL1_CLR);
- __raw_writel(1 << (chan + 16), pdev->base + HW_APBX_CTRL2_CLR);
}
}