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:Eric Holmberg <eholmber@codeaurora.org> Signed-off-by:
Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
Loading
Please register or sign in to comment