]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC/soundwire: intel: simplify callbacks for params/hw_free
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 24 Dec 2021 02:10:29 +0000 (10:10 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 24 Dec 2021 14:06:45 +0000 (14:06 +0000)
commit8aff34b06552ccd33aeaa04a5c0888c25e8636b3
tree659e2a30242e274f275c6a7b6c6f37ddd3961092
parent647e5449c7b9b9d96e75a37a57c10867efe11bec
ASoC/soundwire: intel: simplify callbacks for params/hw_free

We don't really need to pass a substream to the callback, we only need
the direction. No functionality change, only simplification to enable
improve suspend with paused streams.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Acked-By: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20211224021034.26635-3-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/soundwire/intel.c
include/linux/soundwire/sdw_intel.h
sound/soc/sof/intel/hda.c