usb: gadget: android: reset eps after remove the config

If the EPs don't get reset after remove the USB configuration,
they are always taken. System will run out of EPs if we add
new USB configurations.
Ideally the EPs required by each function->bind should be released
by each function->unbind.

Change-Id: I9a116c40b79ef268b28762837e8555cb07062cea
Signed-off-by: Rong Wang <>
(cherry picked from commit fabb9697185ad0b08c216f180701f91f4d38ddad)
1 file changed