This is a note to let you know that I've just added the patch titled

    usb: chipidea: udc: fix error path in udc_start()

to the 3.5-stable tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     usb-chipidea-udc-fix-error-path-in-udc_start.patch
and it can be found in the queue-3.5 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From c9d1f947a85e38b6dded469470c95ed62430cb3f Mon Sep 17 00:00:00 2001
From: Marc Kleine-Budde <[email protected]>
Date: Wed, 12 Sep 2012 14:58:02 +0300
Subject: usb: chipidea: udc: fix error path in udc_start()

From: Marc Kleine-Budde <[email protected]>

commit c9d1f947a85e38b6dded469470c95ed62430cb3f upstream.

This patch fixes the error path of udc_start(). Now NULL is used to
unset the peripheral with otg_set_peripheral().

Cc: stable <[email protected]>
Reviewed-by: Richard Zhao <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Signed-off-by: Alexander Shishkin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/usb/chipidea/udc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/usb/chipidea/udc.c
+++ b/drivers/usb/chipidea/udc.c
@@ -1747,7 +1747,7 @@ static int udc_start(struct ci13xxx *udc
 
 remove_trans:
        if (udc->transceiver) {
-               otg_set_peripheral(udc->transceiver->otg, &udc->gadget);
+               otg_set_peripheral(udc->transceiver->otg, NULL);
                usb_put_transceiver(udc->transceiver);
        }
 


Patches currently in stable-queue which might be from [email protected] are

queue-3.5/usb-chipidea-cleanup-dma_pool-if-udc_start-fails.patch
queue-3.5/usb-chipidea-udc-fix-setup-of-endpoint-maxpacket-size.patch
queue-3.5/can-janz-ican3-fix-support-for-older-hardware-revisions.patch
queue-3.5/can-ti_hecc-fix-oops-during-rmmod.patch
queue-3.5/usb-chipidea-udc-don-t-stall-endpoint-if-request-list-is-empty-in-isr_tr_complete_low.patch
queue-3.5/can-mcp251x-avoid-repeated-frame-bug.patch
queue-3.5/usb-chipidea-udc-fix-error-path-in-udc_start.patch
queue-3.5/usb-chipidea-udc-add-pullup-fuction-needed-by-the-uvc-gadget.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to