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)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:46:30 +0000 (11:46 +0900)
commit22b806b67775cc2da83210351ad963b73faf8aea
tree56be68c3b8f48b0e424528652db55521fdea3deb
parent94fa8100378c6b84bad54b8ea1d7c38988cc1bc0
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