Skip to content
Commit 1cc93810 authored by Bernardo Perez Priego's avatar Bernardo Perez Priego Committed by Anas Nashif
Browse files

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: default avatarBernardo Perez Priego <bernardo.perez.priego@intel.com>
parent ad6c0512
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment