]> git.baikalelectronics.ru Git - kernel.git/commit
USB: CP210X Use official request code definitions
authorCraig Shelley <craig@microtron.org.uk>
Thu, 11 Jun 2009 12:53:30 +0000 (13:53 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Jun 2009 15:51:05 +0000 (08:51 -0700)
commite20476d6d8a50ef1d1f934871e85a96bcd9c0e52
tree531852178ffbfd2b3a6756778c8624ee0334364a
parentd507afa8e2aa7c3f5dc1cddba358a505dc4a9efb
USB: CP210X Use official request code definitions

The CP210X driver was developed without official device specifications.
This has lead to an incorrect assumption that all GET request codes are
equal to the corresponding SET request code +1.
This patch removes this incorrect assumption, and uses request code
definitions based on the updated GPL driver from SiLabs.
This modification is needed before extended functionality such as GPIO
on CP2103 can be supported.

Signed-off-by: Craig Shelley <craig@microtron.org.uk>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/usb/serial/cp210x.c