]> git.baikalelectronics.ru Git - kernel.git/commit
USB: fix usbstorage for 2770:915d delivers no FAT
authorRyan May <rmay31@gmail.com>
Wed, 6 Jan 2010 16:09:25 +0000 (10:09 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Jan 2010 23:24:35 +0000 (15:24 -0800)
commitc363519f99598b68b85bffddea24404fae6231d7
treef2eb906df27b062f314fd87af4dfb688a776f5bf
parent6db7bc3ef5ea3d141e0359be1c02e4da0e48da8b
USB: fix usbstorage for 2770:915d delivers no FAT

Resolves kernel.org bug 14914.

Remove entry for 2770:915d (usb digital camera with mass storage
support) from unusual_devs.h. The fix triggered by the entry causes
the file system on the camera to be completely inaccessible (no
partition table, the device is not mountable).

The patch works, but let me clarify a few things about it.  All the
patch does is remove the entry for this device from the
drivers/usb/storage/unusual_devs.h, which is supposed to help with a
problem with the device's reported size (I think).  I'm pretty sure it
was originally added for a reason, so I'm not sure removing it won't
cause other problems to reappear.  Also, I should note that this
unusual_devs.h entry was present (and activating workarounds) in
2.6.29, but in that version everything works fine.  Starting with
2.6.30, things no longer work.

Signed-off-by: Ryan May <rmay31@gmail.com>
Cc: Rohan Hart <rohan.hart17@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/unusual_devs.h