serial/pmac_zilog: Workaround problem due to interrupt on closed port
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 10 Jan 2010 17:51:42 +0000 (17:51 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 15 Jan 2010 02:26:13 +0000 (13:26 +1100)
commit02ab851324dc7e2fc75787f7fae71187092be7ed
treeb7019a603013ccdeb176349a5b0e315111b2e538
parent46759a7c132648d79121518d2f7c34edc3f0cf58
serial/pmac_zilog: Workaround problem due to interrupt on closed port

It seems that in qemu, we can see an interrupt in R3 despite the
fact that it's masked in W1. The chip doesn't actually issue an
interrupt, but we can "see" it when taking an interrupt for the
other channel. This may be a qemu bug ... or not, so let's be
safe and avoid calling into the UART layer when that happens which
woulc cause a crash.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Rob Landley <rob@landley.net>
drivers/serial/pmac_zilog.c