summaryrefslogtreecommitdiff
path: root/drivers/perf
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2021-03-23 09:37:07 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-11 14:47:19 +0200
commit64d579453bd6b42e1f54ea8eafdd9d8fdadff0dd (patch)
tree771d750cdea73825caa86a68d34be82918eb25a8 /drivers/perf
parent9584ce366cc9a363fb5972e3d1003598583ba343 (diff)
soundwire: cadence: only prepare attached devices on clock stop
[ Upstream commit 58ef9356260c291a4321e07ff507f31a1d8212af ] We sometimes see COMMAND_IGNORED responses during the clock stop sequence. It turns out we already have information if devices are present on a link, so we should only prepare those when they are attached. In addition, even when COMMAND_IGNORED are received, we should still proceed with the clock stop. The device will not be prepared but that's not a problem. The only case where the clock stop will fail is if the Cadence IP reports an error (including a timeout), or if the devices throw a COMMAND_FAILED response. BugLink: https://github.com/thesofproject/linux/issues/2621 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@intel.com> Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20210323013707.21455-1-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/perf')
0 files changed, 0 insertions, 0 deletions