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

Skip to content
Commit bfec0856 authored by Karthikeyan Ramasubramanian's avatar Karthikeyan Ramasubramanian Committed by Stephen Boyd
Browse files

msm: smd_pkt: Verify edge during probe operation



Verify that both the platform id (SMD port edge) and the platform name
(SMD port name) match during driver binding to prevent registering for
the correct SMD port name, but the wrong SMD port edge.

An SMD Port can be uniquely identified in the system by its name and
edge and both of these must match for binding to ensure that the correct
port is being opened.  Without this check, the driver could potentially
attach to the wrong processor resulting in undefined behavior.

Change-Id: I8a10d35f6462784f0b79a8cceee9ac92abb9e87a
Signed-off-by: default avatarEric Holmberg <eholmber@codeaurora.org>
Signed-off-by: default avatarKarthikeyan Ramasubramanian <kramasub@codeaurora.org>
parent 8e034f9c
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