Commit 12867c8c authored by Hemant Kumar's avatar Hemant Kumar Committed by Gerrit - the friendly Code Review server
Browse files

usb: mdm_bridge: Add support for multiple instance of dun and rmnet driver



mdm bridge driver needs to get loaded for two mdm9x15 devices enumeration
for PID 0x9048 and 0x9079. In this case driver probe and disconnect can
happen in parallel on two different cores. Hence identify the available
bridge device instance and mark is as claimed by acquiring a global mutex.
Unclaime the device instance upon device disconnect.

Change-Id: I8f0f8fb7d76e8a4f1a68b3fad288782ff571c653
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent ab181a2d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment