usb: Add in missing EHCI helpers.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 30 Nov 2010 08:57:02 +0000 (17:57 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 1 Dec 2010 00:51:21 +0000 (16:51 -0800)
Several of the EHCI glue drivers either predate or were merged in the
same timeframe as API changes at the USB core level, resulting in some
missing endpoint_reset and clear_tt_buffer_complete callbacks.

This fixes up all of ehci-atmel, mxc, w90x900, and xilinx-of to tie in
the new helpers, which brings them in line with everyone else.

Reported-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-atmel.c
drivers/usb/host/ehci-mxc.c
drivers/usb/host/ehci-w90x900.c
drivers/usb/host/ehci-xilinx-of.c

index 51bd0edf544fc56b9463ea130711bd4e9767d9b6..d6a69d514a846f632ead6fdcf75447de4f0ceada 100644 (file)
@@ -99,6 +99,7 @@ static const struct hc_driver ehci_atmel_hc_driver = {
        .urb_enqueue            = ehci_urb_enqueue,
        .urb_dequeue            = ehci_urb_dequeue,
        .endpoint_disable       = ehci_endpoint_disable,
+       .endpoint_reset         = ehci_endpoint_reset,
 
        /* scheduling support */
        .get_frame_number       = ehci_get_frame,
@@ -110,6 +111,8 @@ static const struct hc_driver ehci_atmel_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,
 };
 
 static int __init ehci_atmel_drv_probe(struct platform_device *pdev)
index ac9c4d7c44af227ff974b6f5af7636013583bcbc..802fcf6f88396a8da3a598b2261a82747d1a591c 100644 (file)
@@ -92,6 +92,7 @@ static const struct hc_driver ehci_mxc_hc_driver = {
        .urb_enqueue = ehci_urb_enqueue,
        .urb_dequeue = ehci_urb_dequeue,
        .endpoint_disable = ehci_endpoint_disable,
+       .endpoint_reset = ehci_endpoint_reset,
 
        /*
         * scheduling support
@@ -107,6 +108,8 @@ 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,
 };
 
 static int ehci_mxc_drv_probe(struct platform_device *pdev)
index cfa21ea20f8281cec44721f7d6b1c7de6780ff63..6bc35809a5c6b6767c75b1732a4aad9bb4ab831d 100644 (file)
@@ -130,6 +130,7 @@ static const struct hc_driver ehci_w90x900_hc_driver = {
        .urb_enqueue = ehci_urb_enqueue,
        .urb_dequeue = ehci_urb_dequeue,
        .endpoint_disable = ehci_endpoint_disable,
+       .endpoint_reset = ehci_endpoint_reset,
 
        /*
         * scheduling support
@@ -147,6 +148,8 @@ static const struct hc_driver ehci_w90x900_hc_driver = {
 #endif
        .relinquish_port        = ehci_relinquish_port,
        .port_handed_over       = ehci_port_handed_over,
+
+       .clear_tt_buffer_complete = ehci_clear_tt_buffer_complete,
 };
 
 static int __devinit ehci_w90x900_probe(struct platform_device *pdev)
index 6c8076ad821d00be913663ea9e641eede9fb4f3b..e8f4f36fdf0b457ad917481fe89f269c171d37a2 100644 (file)
@@ -117,6 +117,7 @@ static const struct hc_driver ehci_xilinx_of_hc_driver = {
        .urb_enqueue            = ehci_urb_enqueue,
        .urb_dequeue            = ehci_urb_dequeue,
        .endpoint_disable       = ehci_endpoint_disable,
+       .endpoint_reset         = ehci_endpoint_reset,
 
        /*
         * scheduling support