Commit bbee2b6d authored by Andy Shevchenko's avatar Andy Shevchenko Committed by openeuler-sync-bot
Browse files

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: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220127180608.71509-1-andriy.shevchenko@linux.intel.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Stable-dep-of: 95d69886 ("serial: 8250_exar: Add support for USR298x PCI Modems")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
(cherry picked from commit 12feede9)
parent fd5ee7c6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment