> >> In order to support off-mode, we need the transceiver driver to wake-up > >> the controller. > >> I m working on a hook which would allow that. > >> I want to take advantage of your implementation for saving/restoring > >> musb context, but saving the platform data is not necessary in my case. > >> > > > > Then how about having a platform specific flag within > > musb_platform_save/restorae_context() implementation which wouldn't > > save/restore when you don't need them. > > > > > > I got your point, but how would this flag being passed into > musb_save_context()? > As a new musb struct member? yes, from musb only and in that case we need to add another parameter to musb_platform_save/restore_context as you suggested. Once your testing is completed then you can submit a separate patch on this? Or if already done then we can update the current one before it is sent to Greg. -Ajay > > > > >> Maybe it musb_platform_save/restore_context(), shouldn't be called from > >> musb_save/restore_context(); > >> > >> > >>> I think if the requirement is generic and suits for all other > platforms > >>> Using musb then we can add it. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html