usb: musb: core: add missing curly braces
authorFelipe Balbi <balbi@ti.com>
Wed, 25 Feb 2015 20:05:15 +0000 (14:05 -0600)
committerFelipe Balbi <balbi@ti.com>
Tue, 10 Mar 2015 20:33:24 +0000 (15:33 -0500)
no functional changes, clean up only.

Tested-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_core.c

index 8066dba..21ab266 100644 (file)
@@ -887,9 +887,9 @@ b_host:
                         * caused BABBLE. When HS BABBLE happens we can only
                         * stop the session.
                         */
-                       if (devctl & (MUSB_DEVCTL_FSDEV | MUSB_DEVCTL_LSDEV))
+                       if (devctl & (MUSB_DEVCTL_FSDEV | MUSB_DEVCTL_LSDEV)) {
                                dev_dbg(musb->controller, "BABBLE devctl: %02x\n", devctl);
-                       else {
+                       else {
                                ERR("Stopping host session -- babble\n");
                                musb_writeb(musb->mregs, MUSB_DEVCTL, 0);
                        }