Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cee765df authored by Ajay Agarwal's avatar Ajay Agarwal
Browse files

usb: misc: ks_bridge: Fail probe if port already in use



If a ksb port with a particular device ID is in use, and the user
connects another device with the same device ID, then we end up
overriding the ksb members with the new values leading to
functionality failure of the first device, among other possible
issues. To avoid that, fail the probe.
While at it, also fix minor checkpatch warning.

Change-Id: I2a5901b8fe49b69b95e3a842c4efcd976425c106
Signed-off-by: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent 7a6d7203
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment