/* This function handles the control transfer out status phase  */
static int ctrlreq_out_status_phase(struct usb_device *dev)
/* This function handles the control transfer out status phase  */
static int ctrlreq_out_status_phase(struct usb_device *dev)
{
	u16 csr;
	int result;
	csr = readw(&musbr->txcsr);
	csr |= (MUSB_CSR0_TXPKTRDY | MUSB_CSR0_H_STATUSPKT);
	csr |= MUSB_CSR0_H_DIS_PING;
	writew(csr, &musbr->txcsr);
	result = wait_until_ep0_ready(dev, MUSB_CSR0_TXPKTRDY);
	return result;
}