[PATCH 1/2] USB: ehci-mxc: hook up two missing callbacks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alan Stern said in
http://mid.gmane.org/Pine.LNX.4.44L0.1010051011190.1743-100000@xxxxxxxxxxxxxxxxxxxx :

	ehci_clear_tt_buffer_complete and ehci_endpoint_reset must be used by
	every EHCI driver.  The correct fix is to add them to your driver's
	hc_driver structure.

So add them to ehci-mxc, too

Acked-and-tested-by: Eric BÃnard <eric@xxxxxxxxxx>
Signed-off-by: Uwe Kleine-KÃnig <u.kleine-koenig@xxxxxxxxxxxxxx>
---
 drivers/usb/host/ehci-mxc.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/host/ehci-mxc.c
index a8ad8ac..7597b36 100644
--- a/drivers/usb/host/ehci-mxc.c
+++ b/drivers/usb/host/ehci-mxc.c
@@ -110,6 +110,9 @@ static const struct hc_driver ehci_mxc_hc_driver = {
 	.bus_resume = ehci_bus_resume,
 	.relinquish_port = ehci_relinquish_port,
 	.port_handed_over = ehci_port_handed_over,
+
+	.clear_tt_buffer_complete = ehci_clear_tt_buffer_complete,
+	.endpoint_reset = ehci_endpoint_reset,
 };
 
 static int ehci_mxc_drv_probe(struct platform_device *pdev)
-- 
1.7.2.3

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux