]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
committerMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Fri, 17 Jan 2020 17:22:32 +0000 (14:22 -0300)
commita0c88883f1465e9a60057aadee170dfd1ad1a88d
tree0c8cc5d50567047d6173a2ac5c0c65b2fd777f3b
parent316fa83d206501f691bea7c82fdbadccc232afc0
USB: serial: mos7840: add USB ID to support Moxa UPort 2210

BugLink: https://bugs.launchpad.net/bugs/1854861
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>
Signed-off-by: Connor Kuehl <connor.kuehl@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/usb/serial/mos7840.c