USB: musb: remove obsolete resume-signalling comments
authorJohan Hovold <johan@kernel.org>
Mon, 21 Nov 2016 14:59:21 +0000 (08:59 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Nov 2016 16:35:36 +0000 (17:35 +0100)
Remove comments about resume signalling being stopped from
GetPortStatus, something which is no longer the case.

Fixes: 8ed1fb790ea2 ("usb: musb: finish suspend/reset work...")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/musb_core.c
drivers/usb/musb/musb_virthub.c

index e01116e4c0671c18f0c3905c9474ac4ca1f7375a..26f5710ab1feeb99fabb55712dc1e739ee6fe5e6 100644 (file)
@@ -569,10 +569,7 @@ static irqreturn_t musb_stage0_irq(struct musb *musb, u8 int_usb,
                if (devctl & MUSB_DEVCTL_HM) {
                        switch (musb->xceiv->otg->state) {
                        case OTG_STATE_A_SUSPEND:
-                               /* remote wakeup?  later, GetPortStatus
-                                * will stop RESUME signaling
-                                */
-
+                               /* remote wakeup? */
                                musb->port1_status |=
                                                (USB_PORT_STAT_C_SUSPEND << 16)
                                                | MUSB_PORT_STAT_RESUME;
index 61b5f1c3c5bcd12e53364e074b5a77ba60362ed5..0b4595439d51390ed8f57521f626d047520e37c4 100644 (file)
@@ -132,7 +132,6 @@ void musb_port_suspend(struct musb *musb, bool do_suspend)
 
                musb_dbg(musb, "Root port resuming, power %02x", power);
 
-               /* later, GetPortStatus will stop RESUME signaling */
                musb->port1_status |= MUSB_PORT_STAT_RESUME;
                schedule_delayed_work(&musb->finish_resume_work,
                                      msecs_to_jiffies(USB_RESUME_TIMEOUT));