mirror of
https://github.com/adulau/aha.git
synced 2024-12-31 21:26:18 +00:00
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>
This commit is contained in:
parent
e9103e7490
commit
147df2d68f
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue