diff options
author | Kuninori Morimoto <morimoto.kuninori@renesas.com> | 2009-09-14 07:22:31 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-09-14 20:34:06 -0400 |
commit | 147df2d68f209fef6a53b345a5a9a9ea38a60f66 (patch) | |
tree | 1c5e5895b0bd833b7736162953a7b06ae4d04f3e /arch/sh/boards/mach-ecovec24/setup.c | |
parent | e9103e74907d748f3cfe1b75b9d895f61c4ebc17 (diff) |
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/boards/mach-ecovec24/setup.c')
-rw-r--r-- | arch/sh/boards/mach-ecovec24/setup.c | 1 |
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 b89e47920b52..40decfe0f37e 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) | |||
492 | 492 | ||
493 | /* enable USB */ | 493 | /* enable USB */ |
494 | ctrl_outw(0x0000, 0xA4D80000); | 494 | ctrl_outw(0x0000, 0xA4D80000); |
495 | ctrl_outw(0x0000, 0xA4D90000); | ||
495 | gpio_request(GPIO_PTB3, NULL); | 496 | gpio_request(GPIO_PTB3, NULL); |
496 | gpio_request(GPIO_PTB4, NULL); | 497 | gpio_request(GPIO_PTB4, NULL); |
497 | gpio_request(GPIO_PTB5, NULL); | 498 | gpio_request(GPIO_PTB5, NULL); |