Commit 7e403221 authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by Russell King

[SERIAL] HCDP IRQ fixup

Some pre-production firmware has incorrect GSI values in the
HCDP, which tells us where the serial console port is, so we
have to do the auto-IRQ thing after all.
parent 6d7b1571
......@@ -186,6 +186,8 @@ setup_serial_hcdp(void *tablep)
port.irq = gsi;
#endif
port.flags = UPF_SKIP_TEST | UPF_BOOT_AUTOCONF | UPF_RESOURCES;
if (gsi)
port.flags |= UPF_AUTO_IRQ;
/*
* Note: the above memset() initializes port.line to 0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment