commit | 1cc93810d05a0c3bf1711fce041aa4e5ad55630c | [log] [tgz] |
---|---|---|
author | Bernardo Perez Priego <bernardo.perez.priego@intel.com> | Thu Aug 08 11:19:25 2024 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Thu Oct 10 20:24:06 2024 -0400 |
tree | b186dc5f7342eb9d1cd7b44359fd810de874ffd4 | |
parent | ad6c0512adc3ab1c769eab7a6a696f174c54b51d [diff] |
ec_host_cmd: Fix generating multiple Port80 notifications Port80 notifications are continously generated as long as NOT_EMPTY bit inside of Data Attributes register is set. This register was only read once prior entering loop and its value was not checked on each iteration. This patch will include reading Data Attributes register on each iteration, this way we can exit loop when no more data is available. Signed-off-by: Bernardo Perez Priego <bernardo.perez.priego@intel.com>