diff options
author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-06-06 13:47:29 +0200 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-06-06 13:50:54 +0200 |
commit | 0e3e97526a850f97c9fe8b646937b3a2bef58290 (patch) | |
tree | 52720ccba4e5e84862ef9786d70e371fbcc0e6c8 /drivers/pwm/pwm-sun4i.c | |
parent | usb: gadget: udc: renesas_usb3: Fix PN_INT_ENA disabling timing (diff) | |
download | linux-0e3e97526a850f97c9fe8b646937b3a2bef58290.tar.xz linux-0e3e97526a850f97c9fe8b646937b3a2bef58290.zip |
usb: gadget: composite: make sure to reactivate function on unbind
If a function sets bind_deactivated flag, upon removal we will be left
with an unbalanced deactivation. Let's make sure that we conditionally
call usb_function_activate() from usb_remove_function() and make sure
usb_remove_function() is called from remove_config().
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/pwm/pwm-sun4i.c')
0 files changed, 0 insertions, 0 deletions