soundwire: intel: fix wrong register name in intel_shim_wake
Bard Liao
maintainerPATCH 1/1 soundwire: intel: fix wrong register name in intel_shim_wake
From: Libin Yang <[email protected]>
When clearing the sdw wakests status, we should use SDW_SHIM_WAKESTS.
Fixes 4a17c441c7cb ("soundwire: intel: revisit SHIM programming sequences.")
Signed-off-by Libin Yang <[email protected]>
Reviewed-by Pierre-Louis Bossart <[email protected]>
Reviewed-by Rander Wang <[email protected]>
Signed-off-by Bard Liao <[email protected]>
--- drivers/soundwire/intel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/soundwire/intel.c +2 -2
@@ -448,8 +448,8 @@ static void intel_shim_wake(struct sdw_intel *sdw, bool wake_enable)/* Clear wake status */ wake_sts =intel_readw (shim,SDW_SHIM_WAKESTS ); - wake_sts |= (SDW_SHIM_WAKEEN_ENABLE << link_id); -intel_writew (shim,SDW_SHIM_WAKESTS_STATUS , wake_sts); + wake_sts |= (SDW_SHIM_WAKESTS_STATUS << link_id); +intel_writew (shim,SDW_SHIM_WAKESTS , wake_sts); }mutex_unlock (sdw->link_res->shim_lock); }
Signature · 1 line
2.17.1
Quoted 3 lines · Bard Liao
From: Libin Yang <[email protected]>
When clearing the sdw wakests status, we should use
SDW_SHIM_WAKESTS.
Applied, thanks
Signature · 1 line
~Vinod