]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
USB: serial: mos7840: Fixed MCS7820 device attach problem
authorDonald Lee <donald@asix.com.tw>
Wed, 14 Mar 2012 07:26:33 +0000 (15:26 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Apr 2012 16:27:08 +0000 (09:27 -0700)
commit9ab3ea7c9f0d849bb2928677ceb4e1b7a3f1afdc
treed9a0ee955b4f366700bf384abf774b3b3c8d0e11
parent765d0ce6508f7c7aef9a0c26c5120cd87bb7ba0a
USB: serial: mos7840: Fixed MCS7820 device attach problem

commit 093ea2d3a766cb8a4c4de57efec6c0a127a58792 upstream.

A MCS7820 device supports two serial ports and a MCS7840 device supports
four serial ports. Both devices use the same driver, but the attach function
in driver was unable to correctly handle the port numbers for MCS7820
device. This problem has been fixed in this patch and this fix has been
verified on x86 Linux kernel 3.2.9 with both MCS7820 and MCS7840 devices.

Signed-off-by: Donald Lee <donald@asix.com.tw>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/mos7840.c