]> git.baikalelectronics.ru Git - kernel.git/commit
hvc: Convert to using interrupts instead of opal events
authorAlistair Popple <alistair@popple.id.au>
Fri, 15 May 2015 04:06:39 +0000 (14:06 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 22 May 2015 05:14:38 +0000 (15:14 +1000)
commit3cf491fe4001b1a237a93bc2a83c39bc67b1af8b
tree0a1d9c2225617fea111b47e6c8639ecc6e0c9f99
parentcdacf379956a98adb0ecc2bfe51c889e1405f193
hvc: Convert to using interrupts instead of opal events

Convert the opal hvc driver to use the new irqchip to register for
opal events. As older firmware versions may not have device tree
bindings for the interrupt parent we just use a hardcoded hwirq based
on the event number.

Signed-off-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/tty/hvc/hvc_opal.c