commit | aeaab626e3709fed5427b23cc4aca010fe37e86e | [log] [tgz] |
---|---|---|
author | Shalabh Jain <shalabhj@codeaurora.org> | Mon Jun 04 18:01:02 2012 -0700 |
committer | Linux Build Service Account <lnxbuild@localhost> | Sat Jun 09 13:43:05 2012 -0600 |
tree | 51ffc80e4c9ea82e1fc41bcf96addd71e9f14fb0 | |
parent | b9bc19bceff1119683314a57f36a30386ef79525 [diff] |
diag: Protect SMD channel from getting NULL value DIAG driver uses SMD channel to talk to other processors. Due to certain race condition, the SMD channel variable can be assigned NULL value. This change prevents the NULL assignment. Change-Id: I1a5563c51020e4107eb78429c51094d8e9f1a7ff Signed-off-by: Shalabh Jain <shalabhj@codeaurora.org>