* Re: [PATCH] u132-hcd: add missing braces
[not found] <20080224153404.bed65e80.sfr@canb.auug.org.au>
@ 2008-02-24 11:14 ` Rafael J. Wysocki
0 siblings, 0 replies; only message in thread
From: Rafael J. Wysocki @ 2008-02-24 11:14 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: Greg KH, tony.olech, LKML, linux-next
On Sunday, 24 of February 2008, Stephen Rothwell wrote:
>
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Thanks, this has been fixed already in the mainline.
> ---
> 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.
>
> diff --git a/drivers/usb/host/u132-hcd.c b/drivers/usb/host/u132-hcd.c
> index 6fca069..648ad1a 100644
> --- a/drivers/usb/host/u132-hcd.c
> +++ b/drivers/usb/host/u132-hcd.c
> @@ -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;
> --
> 1.5.4.2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-02-24 11:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20080224153404.bed65e80.sfr@canb.auug.org.au>
2008-02-24 11:14 ` [PATCH] u132-hcd: add missing braces Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®