/* handle a control-IN request, the end0 buffer contains the current request that is supposed to be a standard control request. Assumes the fifo to be at least 2 bytes long. */
static int service_in_request(struct musb *musb, const struct usb_ctrlrequest *ctrlrequest)
/* handle a control-IN request, the end0 buffer contains the current request that is supposed to be a standard control request. Assumes the fifo to be at least 2 bytes long. */
static int service_in_request(struct musb *musb, const struct usb_ctrlrequest *ctrlrequest)
{
	int handled = 0;
	if ((ctrlrequest->bRequestType & USB_TYPE_MASK)
			== USB_TYPE_STANDARD) {
		switch (ctrlrequest->bRequest) {
		case USB_REQ_GET_STATUS:
			handled = service_tx_status_request(musb,
					ctrlrequest);
			break;
		default:
			break;
		}
	}
	return handled;
}