x86: mrst: Set vRTC's IRQ to level trigger type
authorFeng Tang <feng.tang@intel.com>
Thu, 11 Nov 2010 15:50:50 +0000 (15:50 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Nov 2010 16:43:18 +0000 (17:43 +0100)
commit6f207e9bb4219d261d9326597ca533f954f31755
tree6cd1f1c0163f05b3073794bf290a4e19582f053e
parent86071535f845fd054753122e564cee9406c84e70
x86: mrst: Set vRTC's IRQ to level trigger type

When setting up the mpc_intsrc structure for vRTC's IRQ,
we need to set its irqflag to level trigger, otherwise
it will be taken as edge triggered and the vRTC IRQ will
fire only once, as there is never a EOI issued from the
IA core for it.

The original code worked in previous kernel. This is  because it
was configured to level trigger type by luck. It fell
into the default PCI trigger category which is level triggered.

Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
LKML-Reference: <20101111155019.12924.569.stgit@localhost.localdomain>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/platform/mrst/mrst.c