usb: gadget: mass storage: fix return of delayed status
authorPratyush Anand <pratyush.anand@st.com>
Mon, 4 Nov 2013 16:43:54 +0000 (22:13 +0530)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 15 May 2014 05:26:54 +0000 (07:26 +0200)
commit67ffffaa6a98f3aa02319c06467dbc33b6feb368
tree38698bd7d1c728352fb0d57eff0705e45f00f515
parent44ef8a6d90ce17e7000d277b31155f6f020ef5e6
usb: gadget: mass storage: fix return of delayed status

Mass storage gadget returns DELAYED_STATUS in stead of
USB_GADGET_DELAYED_STATUS while handling bulk reset request. Since
peripheral driver uses USB_GADGET_DELAYED_STATUS for delayed status
handling, therefore replace DELAYED_STATUS by USB_GADGET_DELAYED_STATUS
in mass storage driver.

Since, DELAYED_STATUS and hence EP0_BUFSIZE will no longer be used now,
so remove them.

Signed-off-by: Pratyush Anand <pratyush.anand@st.com>
Cc: Paul Zimmerman <Paul.Zimmerman@synopsys.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/f_mass_storage.c
drivers/usb/gadget/storage_common.h