diag: Add concurrency protection to writes on smd data channels

Currently, diag does not protect against multiple threads writing
on a diag smd data channel at the same time. Make changes to protect
against concurrent writes on the same smd data channel.

CRs-Fixed: 455354

Change-Id: I6892db6ab55c402959b65a1eaad2f985094455ad
Signed-off-by: Dixon Peterson <dixonp@codeaurora.org>
usb: gadget: mbim: Fix union descriptor for high-speed

Fix MBIM to support a "Union Descriptor" for High-Speed connection.
Without this fix, the union descriptor is only supported for
Full-Speed connection.

Change-Id: I6b03b675b48cfb9c69e1d1b20798a5a698b84d41
Signed-off-by: Amit Blay <ablay@codeaurora.org>
Merge "usb: gadget: mbim: Fix union descriptor for high-speed"
Merge "diag: Add concurrency protection to writes on smd data channels"