Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
soundwire: cadance_master: fix a io timeout issue in S3 test
After system resumes from S3, io timeout occurs when setting one unused master on comet lake platform. In this case, the master is reset to default state, and FIFOLEVEL is reset to default value, but msg_count used for tracing FIFOLEVEL is still with old value, so FIFOLEVEL will not be set if a new msg FIFO usage is equal to the old msg_count. This patch updates msg_count to default value of FIFOLEVEL when resetting master. Signed-off-by: Rander Wang <[email protected]>
- Loading branch information