]> git.baikalelectronics.ru Git - kernel.git/commit
MN10300: Clear ASB2364 peripheral interrupt masks before enabling interrupts
authorDavid Howells <dhowells@redhat.com>
Fri, 18 Mar 2011 16:52:54 +0000 (16:52 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 18 Mar 2011 16:52:54 +0000 (16:52 +0000)
commitac733a104842295c7ae53854b63d18ce96d9ed14
treec24cbe7132c243450aa11939f4d88a2bde8ed6e0
parentb6cfb469c7038d606a7681acb4ed8ed672e70a4a
MN10300: Clear ASB2364 peripheral interrupt masks before enabling interrupts

Clear the interrupt mask registers of ASB2364 peripherals before enabling
interrupts so that any peripherals that weren't dealt with by the bootloader
after a reboot (if there was one) won't cause an interrupt storm when
interrupts are first enabled before the drivers are initialised.

Also, attempt to reset the peripherals attached to the FPGA.

Signed-off-by: David Howells <dhowells@redhat.com>
arch/mn10300/unit-asb2364/irq-fpga.c
arch/mn10300/unit-asb2364/unit-init.c