After check the linux-next tree, the core content is already fixed by the patch "4da22f1418cb serial: 8250_fintek: fix the mismatched IRQ mode" (it was applied on 2016-05-27). And it looks my original modification for 8250_pnp.c is unnecessary, I guess originally I only wanted to make sure it should work well, but did not cleanup the code. So this patch is useless, sorry to bother you. And again, thank you for reviewing the code.