commit | 14a1d43c0b3e439c13ff3449768c9952f2fcc4f2 | [log] [tgz] |
---|---|---|
author | Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> | Tue Jun 02 01:05:24 2020 +0800 |
committer | Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> | Tue Oct 27 11:17:41 2020 +0800 |
tree | ca8e1aa44542a09e42cf562ce8629681715ca8fe | |
parent | 64740965c422e84d50f19aa35451cb3cf4ec9d76 [diff] |
intel: mailbox: Use retry count in mailbox poll Change the main loop inside mailbox poll function from while(1) to a retry counter named sdm_loop. This is to limit the maximum possible looping of the function and prevent unexpected behaviour. Signed-off-by: Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> Change-Id: I63afad958fe5f656f6333b60d5a8b4c0ada3b23d