From: Sakethram Bommisetti Date: Wed, 3 Apr 2013 08:45:13 +0000 (+0200) Subject: usb: phy: ab8500-usb: call phy_dis_work only when necessary X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~135^2~63^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=588233733804aeaf16335a32904aaa4d15b9bddd;p=pandora-kernel.git usb: phy: ab8500-usb: call phy_dis_work only when necessary Modify ab8500_usb_set_peripheral() and ab8500_usb_set_host() code to schedule phy_dis_work only when necessary in order to prevent regulator count mismatch during reboot/shutdown. Signed-off-by: Sakethram Bommisetti Acked-by: Linus Walleij Signed-off-by: Fabio Baltieri Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed