Re: [PATCH V1 1/1] serial: 8250_fintek: Fix finding base_port with activated SuperIO

2017-10-18 Thread Alan Cox
On Tue, 17 Oct 2017 14:23:08 +0800 "Ji-Ze Hong (Peter Hong)" wrote: > The SuperIO will be configured at boot time by BIOS, but some BIOS > will not deactivate the SuperIO when the end of configuration. It'll > lead to mismatch for pdata->base_port in probe_setup_port(). So we'll > deactivate all

[PATCH V1 1/1] serial: 8250_fintek: Fix finding base_port with activated SuperIO

2017-10-16 Thread Ji-Ze Hong (Peter Hong)
The SuperIO will be configured at boot time by BIOS, but some BIOS will not deactivate the SuperIO when the end of configuration. It'll lead to mismatch for pdata->base_port in probe_setup_port(). So we'll deactivate all SuperIO before activate special base_port in fintek_8250_enter_key(). Tested