diff options
author | Rander Wang <rander.wang@intel.com> | 2020-03-17 19:33:18 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-03-19 10:13:04 +0300 |
commit | 0d667d01c40b2cb9141108951890b9b27ea32584 (patch) | |
tree | e51f502c3ed7cb5529fdf2d57135bfbca782e440 /Documentation/media | |
parent | 1032504f22acb92671cfbd06c0dc419b9f0c7976 (diff) | |
download | linux-0d667d01c40b2cb9141108951890b9b27ea32584.tar.xz |
soundwire: cadence: 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.
Tested on Comet Lake platform.
Signed-off-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200317163329.25501-7-pierre-louis.bossart@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'Documentation/media')
0 files changed, 0 insertions, 0 deletions