diff options
author | 2015-02-02 16:24:17 -0600 | |
---|---|---|
committer | 2015-02-23 00:18:52 -0600 | |
commit | 9ec36f7fe20ef919cc15171e1da1b6739222541a (patch) | |
tree | 808aa58e84cbe0f90379b2bcc73d2ea9e0296b8f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | usb: musb: musb_host: Enable HCD_BH flag to handle urb return in bottom half (diff) | |
download | wireguard-linux-9ec36f7fe20ef919cc15171e1da1b6739222541a.tar.xz wireguard-linux-9ec36f7fe20ef919cc15171e1da1b6739222541a.zip |
usb: gadget: function: phonet: balance usb_ep_disable calls
f_phonet's ->set_alt() method will call usb_ep_disable()
potentially on an endpoint which is already disabled. That's
something the gadget/function driver must guarantee that it's
always balanced.
In order to balance the calls, just make sure the endpoint
was enabled before by means of checking the validity of
driver_data.
Reported-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions