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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Nov 2019 09:10:25 +0000 (10:10 +0100)
commit076b084d68a7521379b20f97311b2e758da06376
treec4a05dd79859b675091346735a20077008664e74
parent04484bed9f24895dcf5068bf7e2b8d7b0718ee79
USB: serial: mos7840: add USB ID to support Moxa UPort 2210

commit e696d00e65e81d46e911f24b12e441037bf11b38 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/mos7840.c