]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: SOF: Intel: hda-pcm: Follow the pause_supported flag to drop PAUSE support
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Fri, 13 Dec 2024 10:11:23 +0000 (12:11 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 13 Dec 2024 13:10:30 +0000 (13:10 +0000)
commit3a47319d2d910291f4c09c0f1fec4e86a2e03696
treeea61f24dfe88a005428b8a8eb130794d93aae440
parent70a667d70cce338ab8552dd762ae114a5ab96500
ASoC: SOF: Intel: hda-pcm: Follow the pause_supported flag to drop PAUSE support

If the stream's pause_supported flag is false then mask out the PAUSE
support, so user space will be prevented to use it.

Introduce a module parameter to ignore the pause_supported flag, named as
force_pause_support to allow testing of the PAUSE feature.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
Link: https://patch.msgid.link/20241213101123.27318-3-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-pcm.c