]> asedeno.scripts.mit.edu Git - linux.git/commit
USB: serial: ch341: add register and USB request definitions
authorAidan Thornton <makosoft@gmail.com>
Sat, 22 Oct 2016 21:02:23 +0000 (22:02 +0100)
committerJohan Hovold <johan@kernel.org>
Mon, 24 Oct 2016 15:41:07 +0000 (17:41 +0200)
commit6fde8d29b0424f292a4ec5dbce01458ad759a41f
treec35790ce54f01af843ea25cfe8250e9ee13797b7
parent6b7271d2536abd6f87fbc5ddd22c42dd1ffe360d
USB: serial: ch341: add register and USB request definitions

No functional changes, this just gives names to some registers and USB
requests based on Grigori Goronzy's work and WinChipTech's Linux driver
(which reassuringly agree), then uses them in place of magic numbers.
This also renames the misnamed BREAK2 register (actually UART config)

Signed-off-by: Aidan Thornton <makosoft@gmail.com>
Reviewed-by: Grigori Goronzy <greg@chown.ath.cx>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/ch341.c