USB: serial: pl2303: clean up legacy endpoint hack
authorJohan Hovold <johan@kernel.org>
Thu, 16 Mar 2017 16:13:35 +0000 (17:13 +0100)
committerJohan Hovold <johan@kernel.org>
Tue, 28 Mar 2017 09:00:07 +0000 (11:00 +0200)
commit9d717271d6b5cbbe6aaa975648d9dcfe9b6e7b82
treedd8660338998905d55b4d026807bcd1d647288fe
parent9fda620a5f3d7711d0b27d36eeec3a24a097af97
USB: serial: pl2303: clean up legacy endpoint hack

Implement the "horrible endpoint hack" for some legacy devices as a
quirk and clean up the code somewhat.

Note that the bulk-endpoint check can be removed as core will already
have verified this.

Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/pl2303.c