Hi, The charging should be prevented if the bus is suspended. These notifications will come from the udc drivers. I'll create a separate patch set for those, as I guess the maintainers of the controller drivers need to approve those. Heikki Krogerus (3): usb: otg: add events for suspend/resume states isp1704_charger: Handle suspended and resumed events twl4030_charger: Handle suspended and resumed events drivers/power/isp1704_charger.c | 13 +++++++++++++ drivers/power/twl4030_charger.c | 4 ++++ include/linux/usb/otg.h | 2 ++ 3 files changed, 19 insertions(+), 0 deletions(-) -- 1.7.4.1 -- 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