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)
commite696d00e65e81d46e911f24b12e441037bf11b38
tree909f93260eb4265d920cd0e8dff9f5696e159e2f
parent35714565089e5e8b091c1155517b67e29118f09d
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