]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: mos7840: add USB ID to support Moxa UPort 2210
authorPavel Löbl <pavel@loebl.cz>
Fri, 1 Nov 2019 07:01:50 +0000 (08:01 +0100)
committerJohan Hovold <johan@kernel.org>
Wed, 6 Nov 2019 17:02:57 +0000 (18:02 +0100)
commitcc86ae85a3d7d12cc5a510e5c9d4643af72f47f5
tree909f93260eb4265d920cd0e8dff9f5696e159e2f
parent0588c0d371a124efe5cab2f95debb1608acb6f0d
USB: serial: mos7840: add USB ID to support Moxa UPort 2210

Add USB ID for MOXA UPort 2210. This device contains mos7820 but
it passes GPIO0 check implemented by driver and it's detected as
mos7840. Hence product id check is added to force mos7820 mode.

Signed-off-by: Pavel Löbl <pavel@loebl.cz>
Cc: stable <stable@vger.kernel.org>
[ johan: rename id defines and add vendor-id check ]
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/mos7840.c