Skip to contentSkip to conversation

u132-hcd: add missing braces

PATCH Rafael J. Wysocki 1 participant 1 message Feb 24, 2008 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 2 lines · Stephen Rothwell

Thanks, this has been fixed already in the mainline.

Quoted 27 lines
---
 drivers/usb/host/u132-hcd.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Discovered while building Linus' tree for today's linux-next. Not the correct patch, but allowed compilation to succeed.

drivers/usb/host/u132-hcd.c +2 -0
index 6fca069..648ad1a 100644
@@ -3221,11 +3221,13 @@ static int u132_suspend(struct platform_device *pdev, pm_message_t state)
 			break;
 		case PM_EVENT_SUSPEND:
 		case PM_EVENT_HIBERNATE:
+			{
                         int ports = MAX_U132_PORTS;
                         while (ports-- > 0) {
                                 port_power(u132, ports, 0);
                         }
 			break;
+			}
 		}
                 if (retval == 0)
                         pdev->dev.power.power_state = state;
Signature · 1 line
1.5.4.2