/* A disconnect IRQ has been received, meaning that the host has lost contact with the bus. Remove all current transactions and signal the gadget driver that this has happened.  */
static void s3c_hsotg_disconnect_irq(struct s3c_hsotg *hsotg)
/* A disconnect IRQ has been received, meaning that the host has lost contact with the bus. Remove all current transactions and signal the gadget driver that this has happened.  */
static void s3c_hsotg_disconnect_irq(struct s3c_hsotg *hsotg)
{
	unsigned ep;
	for (ep = 0; ep < S3C_HSOTG_EPS; ep++)
		kill_all_requests(hsotg, &hsotg->eps[ep], -ESHUTDOWN, true);
	call_gadget(hsotg, disconnect);
}