aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/otg
diff options
context:
space:
mode:
authorRoger Quadros <roger.quadros@nokia.com>2011-04-05 11:36:39 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-04-13 19:40:59 -0400
commit3c624d4962a583516acadcbf60a8ca2a48421f5c (patch)
tree85d60787a7287c2dd3260027026c963680c38f5d /drivers/usb/otg
parent73ee4da994e7b97bd8241e39099cf3dd94675d79 (diff)
usb: gadget: f_mass_storage: If 'ro'/'cdrom' specified, open file as read-only
If we don't need Write access then attempt to open backing file in Read Only mode instead of bailing out too soon. Signed-off-by: Roger Quadros <roger.quadros@nokia.com> Acked-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/otg')
0 files changed, 0 insertions, 0 deletions