From: Tony Lindgren Date: Wed, 15 Aug 2007 10:43:57 +0000 (-0700) Subject: musb_hdrc: Fix ambiguous else warning X-Git-Tag: v2.6.23-omap1~226 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9274e1e063fc29121d4412bf45ce539f02ba002b;p=linux-2.6-omap-h63xx.git musb_hdrc: Fix ambiguous else warning Fix ambiguous else warning Signed-off-by: Tony Lindgren --- diff --git a/drivers/usb/musb/tusb6010.c b/drivers/usb/musb/tusb6010.c index 82e055f49c9..142ef3cce64 100644 --- a/drivers/usb/musb/tusb6010.c +++ b/drivers/usb/musb/tusb6010.c @@ -277,11 +277,12 @@ static int tusb_draw_power(struct otg_transceiver *x, unsigned mA) * Keep clock active when enabled. Note that this is not tied to * drawing VBUS, as with OTG mA can be less than musb->min_power. */ - if (musb->set_clock) + if (musb->set_clock) { if (mA) musb->set_clock(musb->clock, 1); else musb->set_clock(musb->clock, 0); + } /* tps65030 seems to consume max 100mA, with maybe 60mA available * (measured on one board) for things other than tps and tusb.