usb-storage: fix up the unusual_realtek device list
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 17 May 2011 18:45:48 +0000 (14:45 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Jun 2011 00:31:50 +0000 (09:31 +0900)
commit91180a0401c2348d3c488613dbe39ae2e306ec20
tree23bb2201453850e134e86f8d7819b3270d29175c
parent7a538094d533fc4c836d1164103e6a15491a2daa
usb-storage: fix up the unusual_realtek device list

commit a8e62dd6d91f3bc3687abbb26227e5fc39c4829c upstream.

This patch (as1461) fixes the unusual_devs entries for the Realtek USB
card reader.  They should be ordered by PID, and they should not
override the Subclass and Protocol values provided by the device.
Otherwise a notification about unnecessary entries gets printed in the
kernel log during probing.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Tested-By: Tony Vroon <tony@linx.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/unusual_realtek.h