]> git.karo-electronics.de Git - linux-beck.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)
commit2def86a7200ca3a9828926eef927a89adb82ce32
tree0a1d9c2225617fea111b47e6c8639ecc6e0c9f99
parentdce143c3381c355ef73be3dd97cf3ca1b15359b8
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