]> err.no Git - linux-2.6/commit
USB: fix usb-serial/ftdi build warning
authorDavid Brownell <david-b@pacbell.net>
Fri, 23 Mar 2007 19:54:27 +0000 (12:54 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Mar 2007 21:17:48 +0000 (14:17 -0700)
commit3b009c637fee4990265591cc282d0c0f9e3c5384
tree5ab29234802cb954cc002f3773d666a3d1ef5ea4
parentb46d60fc4b2665107a04f75e5381294bfaf20177
USB: fix usb-serial/ftdi build warning

Fix annoying build warning:

drivers/usb/serial/ftdi_sio.c:890: warning: enumeration value `FT232RL' not handled in switch

Also add logic to detect FT232R chips (version 6.00, usb 2.0 full speed),
so that case isn't completely useless.  (NOTE:  FT232RL and FT232RQ are
the same chip in different packages:  L is SSOP, Q is QFN.)

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ftdi_sio.c