summaryrefslogtreecommitdiff
path: root/arch/sh
diff options
context:
space:
mode:
authorKuninori Morimoto <morimoto.kuninori@renesas.com>2009-09-14 11:22:31 +0000
committerPaul Mundt <lethal@linux-sh.org>2009-09-15 09:34:06 +0900
commit147df2d68f209fef6a53b345a5a9a9ea38a60f66 (patch)
tree1c5e5895b0bd833b7736162953a7b06ae4d04f3e /arch/sh
parente9103e74907d748f3cfe1b75b9d895f61c4ebc17 (diff)
downloadlinux-3.10-147df2d68f209fef6a53b345a5a9a9ea38a60f66.tar.gz
linux-3.10-147df2d68f209fef6a53b345a5a9a9ea38a60f66.tar.bz2
linux-3.10-147df2d68f209fef6a53b345a5a9a9ea38a60f66.zip
sh: mach-ecovec24: deassert usb irq on boot.
This patch prevents the USB1 interrupt from remaining asserted immediately after re-boot or during a jump in to a secondary kernel. Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/boards/mach-ecovec24/setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c
index b89e47920b5..40decfe0f37 100644
--- a/arch/sh/boards/mach-ecovec24/setup.c
+++ b/arch/sh/boards/mach-ecovec24/setup.c
@@ -492,6 +492,7 @@ static int __init arch_setup(void)
/* enable USB */
ctrl_outw(0x0000, 0xA4D80000);
+ ctrl_outw(0x0000, 0xA4D90000);
gpio_request(GPIO_PTB3, NULL);
gpio_request(GPIO_PTB4, NULL);
gpio_request(GPIO_PTB5, NULL);