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)
committerFelipe Balbi <balbi@ti.com>
Mon, 25 Nov 2013 16:56:33 +0000 (10:56 -0600)
commit655403c21236af7b121c8c44618e60ff747acc87
tree2f812e0f563141f1741f112af2cda5e516418dac
parentbc912b0d237c1d376214616ae0c9d12b7d542ab4
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