Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
serial: 8250_fintek: Add using BIOS IRQ default setting
In 8250_fintek.c probe_setup_port(), we'll detect the IRQ trigger mode by irq_get_irq_data() and pass it to fintek_8250_set_irq_mode(). If detected Edge mode, we'll set the UART with Edge/High mode, otherwise Level/Low. But in some motherboard, The APIC maybe setting to Level/High. In this case the driver will setting wrong configuration into UART. So we add a option to kernel parameter to control the driver as following: fintek_uart_irq_mode_override= [SERIAL] {default, bios} If the parameter is "default", the driver will using former IRQ override methed(By IRQ trigger type). otherwise, we'll don't change the UART IRQ setting. Signed-off-by: Ji-Ze Hong (Peter Hong) <hpeter+linux_kernel@gmail.com>
- Loading branch information