usb: gadget: f_mass_storage: check quirk instead of UDC name
authorRobert Baldyga <r.baldyga@samsung.com>
Tue, 28 Jul 2015 05:20:01 +0000 (07:20 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 30 Jul 2015 16:43:36 +0000 (11:43 -0500)
commita4cc42157f3f8c3dd5562b91c7430376912c6fb8
treeb7d39aaa87306421678b67e2ac881e6a66800e34
parentca1023c81dd10f76a5d0a8be2fdbe724fe7a126a
usb: gadget: f_mass_storage: check quirk instead of UDC name

Use generic mechanism to check if UDC controller supports stalling.

Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/f_mass_storage.c