[Meego-kernel] [PATCH 3/10] usb: gadget: set vbus_draw current in composite gadget suspend/resume function for penwell
Wu, Hao
hao.wu
Mon Sep 27 20:56:41 PDT 2010
>> +
>> +#ifdef CONFIG_USB_PENWELL_OTG
>> + usb_gadget_vbus_draw(gadget, 2);
>> +#endif
>
>We don't want chip specific ifdefs in gadget drivers if we can avoid
>it. That really needs to be a generic function in the gadget driver
>with callbacks (eg for PENWELL)
Thanks for the comment.
I think I can remove the #ifdef directly, this change should be useful for all, not only penwell.
Hao
More information about the Meego-kernel
mailing list