From 9274e1e063fc29121d4412bf45ce539f02ba002b Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Wed, 15 Aug 2007 03:43:57 -0700 Subject: [PATCH] musb_hdrc: Fix ambiguous else warning Fix ambiguous else warning Signed-off-by: Tony Lindgren --- drivers/usb/musb/tusb6010.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. -- 2.41.1