summaryrefslogtreecommitdiffstats
path: root/drivers/misc/atmel-ssc.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-02-11 12:06:27 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-02-11 12:06:27 +0100
commit81fd7e48f44637b7e677b3dc0d298126d81a2320 (patch)
tree4466af02e3d4260e97d56fc1e2875530ae978320 /drivers/misc/atmel-ssc.c
parentMerge remote-tracking branch 'asoc/topic/arizona' into asoc-next (diff)
parentASoC: sam9g20_wm8731: disable clock and correct sequence when unload (diff)
downloadlinux-81fd7e48f44637b7e677b3dc0d298126d81a2320.tar.xz
linux-81fd7e48f44637b7e677b3dc0d298126d81a2320.zip
Merge remote-tracking branch 'asoc/topic/atmel' into asoc-next
Diffstat (limited to 'drivers/misc/atmel-ssc.c')
-rw-r--r--drivers/misc/atmel-ssc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/atmel-ssc.c b/drivers/misc/atmel-ssc.c
index 3c09cbb70b1d..bd90dd23242e 100644
--- a/drivers/misc/atmel-ssc.c
+++ b/drivers/misc/atmel-ssc.c
@@ -175,7 +175,7 @@ static int ssc_probe(struct platform_device *pdev)
/* disable all interrupts */
clk_enable(ssc->clk);
- ssc_writel(ssc->regs, IDR, ~0UL);
+ ssc_writel(ssc->regs, IDR, -1);
ssc_readl(ssc->regs, SR);
clk_disable(ssc->clk);