usb: gadget: Fix race condition in enable\disable Rmnet device.

This fixes race condition in fast disable and re-enable Rmnet device.
The fix is in the u_bam connect\disconnect procedure.
now the mechanism is similar to the connect\disconnect
mechanism in u_bam_data.

CRs-Fixed: 524776
Change-Id: Ie11d95314f0d6dd04fcc332e77313caabe4f1a15
Signed-off-by: Nadine Toledano <nadinet@codeaurora.org>
usb: gadget: Fix f_rmnet enumeration with destroyed gbam_wq and ports

Commit '5a8d1e95' 'usb: gadget: Fix race condition in enable\disable
Rmnet device' introduce a bug in which we destroy the gbam ports and
gbam workqueue while these are allocated only once on first and only
bind config.

CRs-Fixed: 544296
Change-Id: Id0ca37119fef107ca632bfd9154449793c7bca66
Signed-off-by: Ido Shayevitz <idos@codeaurora.org>
Signed-off-by: Amit Blay <ablay@codeaurora.org>
Merge "usb: gadget: Fix race condition in enable\disable Rmnet device."
Merge "usb: gadget: Fix f_rmnet enumeration with destroyed gbam_wq and ports"