]> git.baikalelectronics.ru Git - kernel.git/commit
soundwire: intel: add error log for clock-stop invalid configs
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 1 Sep 2020 15:05:54 +0000 (23:05 +0800)
committerVinod Koul <vkoul@kernel.org>
Thu, 3 Sep 2020 10:44:39 +0000 (16:14 +0530)
commit3216fb4608494c027e33a3ff098e79c59dd67c84
tree31f5ecfa4cb5bed9dfc6dbf0150cebdf14cc477a
parent2172a9dd5dd97cec39180c6ea79184eefbc44602
soundwire: intel: add error log for clock-stop invalid configs

Detect cases where the clock is assumed to be stopped but the IP is
not in the relevant state. There is no real way to recover here, but
adding an error log can help detect bad programming sequences or race
conditions.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20200901150556.19432-9-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/intel.c