serial: 8250_exar: derive nr_ports from PCI ID for Acces I/O cards
stable inclusion from stable-v5.10.181 commit fb3c5714f5ce2ace7d81ca0315b1171fa5c5fdd4 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8GJZJ Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=fb3c5714f5ce2ace7d81ca0315b1171fa5c5fdd4 -------------------------------- [ Upstream commit 8e4413aa ] In the similar way how it's done in 8250_pericom, derive the number of the UART ports from PCI ID for Acces I/O cards. Signed-off-by:Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20220127180608.71509-1-andriy.shevchenko@linux.intel.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Stable-dep-of: 95d69886 ("serial: 8250_exar: Add support for USR298x PCI Modems") Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment