OpenCloudOS-Kernel/sound/soc
Kuninori Morimoto f39c0540d6
ASoC: codecs: da*: merge .digital_mute() into .mute_stream()
snd_soc_dai_digital_mute() is internally using both
mute_stream() (1) or digital_mute() (2), but the difference between
these 2 are only handling direction.
We can merge digital_mute() into mute_stream

	int snd_soc_dai_digital_mute(xxx, int direction)
	{
		...
		else if (dai->driver->ops->mute_stream)
(1)			return dai->driver->ops->mute_stream(xxx, direction);
		else if (direction == SNDRV_PCM_STREAM_PLAYBACK &&
			 dai->driver->ops->digital_mute)
(2)			return dai->driver->ops->digital_mute(xxx);
		...
	}

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Link: https://lore.kernel.org/r/87sge1wiwi.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-07-16 23:06:18 +01:00
..
adi
amd Merge series "ASoC: topology: fix error handling flow" from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>: 2020-07-08 16:50:36 +01:00
atmel Merge series "ASoC: Clean-up W=1 build warnings​ - part1" from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>: 2020-07-09 22:20:32 +01:00
au1x ASoC: au1x: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI pointer 2020-03-27 14:44:32 +00:00
bcm ASoC: bcm: use snd_soc_xxx_active() 2020-05-18 16:15:05 +01:00
cirrus ASoC: cirrus: use snd_soc_xxx_active() 2020-05-18 16:15:06 +01:00
codecs ASoC: codecs: da*: merge .digital_mute() into .mute_stream() 2020-07-16 23:06:18 +01:00
dwc ASoC: dwc: use snd_soc_xxx_active() 2020-05-18 16:15:15 +01:00
fsl ASoC: fsl_spdif: Add kctl for configuring TX validity bit 2020-07-10 15:29:49 +01:00
generic ASoC: generic: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI pointer 2020-03-27 14:44:36 +00:00
hisilicon ASoC: hisilicon: Use the defined variable to clean code 2020-04-27 14:08:44 +01:00
img ASoC: img-parallel-out: Fix a reference count leak 2020-06-15 20:58:35 +01:00
intel ASoC: Intel: cht_bsw_rt5672: Improve dai-set-fmt comment in cht_codec_fixup() 2020-07-10 16:06:43 +01:00
jz4740 ASoC: ingenic: Unconditionally depend on devicetree 2020-05-28 13:20:17 +01:00
kirkwood ASoC: kirkwood: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI pointer 2020-03-27 14:44:39 +00:00
mediatek ASoC: mediatek: mt8183-da7219: support HDMI jack reporting 2020-07-10 15:57:55 +01:00
meson ASoC: meson: merge .digital_mute() into .mute_stream() 2020-07-16 23:06:09 +01:00
mxs ASoC: mxs-saif: Fix unused assignment 2020-04-29 14:23:19 +01:00
pxa ASoC: pxa: pxa-ssp: Demote seemingly unintentional kerneldoc header 2020-07-10 15:13:48 +01:00
qcom ASoC: qcom: qdsp6: q6asm: Provide documentation for 'codec_profile' 2020-07-10 15:13:45 +01:00
rockchip ASoC: rockchip: spdif: Handle clk by pm runtime 2020-07-13 17:53:46 +01:00
samsung ASoC: samsung: pcm: fix kernel-doc 2020-07-09 21:56:41 +01:00
sh ASoC: ssi: don't use discriminatory terms for debug log 2020-07-14 16:38:24 +01:00
sirf
sof ASoC: SOF: sof-acpi-dev: fix 'defined but unused' warning 2020-07-01 21:14:23 +01:00
spear ASoC: spear: merge .digital_mute() into .mute_stream() 2020-07-16 23:06:08 +01:00
sprd ASoC: sprd: use snd_compress_ops 2020-04-21 19:01:59 +01:00
sti ASoC: sti: uniperif: fix 'defined by not used' warning 2020-07-10 15:13:44 +01:00
stm ASoC: stm32: sai: fix sai probe 2020-04-17 19:37:14 +01:00
sunxi ASoC: sunxi: sun4i-spdif: Fix misspelling of 'reg_dac_txdata' in kernel-doc 2020-07-10 15:13:47 +01:00
tegra ASoC: tegra: tegra20_das: remove always-true comparison 2020-07-09 21:56:42 +01:00
ti ASoC: ti: merge .digital_mute() into .mute_stream() 2020-07-16 23:06:07 +01:00
txx9 ASoC: txx9: add back the hack for a too small resource_size_t 2020-04-21 20:01:50 +02:00
uniphier ASoC: uniphier: aio-core: fix kernel-doc 2020-07-09 21:56:43 +01:00
ux500 ASoC: ux500: ux500_msp_i2s: Remove unused variables 'reg_val_DR' and 'reg_val_TSTDR' 2020-07-10 15:13:48 +01:00
xilinx ASoC: xilinx: Use managed buffer allocation 2019-12-11 16:43:25 +00:00
xtensa ASoC: xtensa: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI pointer 2020-03-27 14:44:55 +00:00
zte ASoC: zte: zx-tdm: remove redundant variables dev 2020-03-11 17:59:49 +00:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile ASoC: soc-component: merge soc-io.c into soc-component.c 2020-06-15 18:21:26 +01:00
soc-ac97.c ASoC: soc-ac97: fix kernel-doc 2020-07-03 17:33:46 +01:00
soc-acpi.c
soc-card.c ASoC: soc-card: add snd_soc_card_remove_dai_link() 2020-05-30 02:11:42 +01:00
soc-component.c ASoC: soc-component: use io_mutex correctly 2020-06-22 15:13:37 +01:00
soc-compress.c ASoC: soc-pcm/compress: reduce verbosity on mapping ok messages 2020-06-15 17:12:11 +01:00
soc-core.c Merge series "ASoC: topology: fix error handling flow" from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>: 2020-07-08 16:50:36 +01:00
soc-dai.c ASoC: soc-dai.c: add .no_capture_mute support 2020-07-16 23:06:05 +01:00
soc-dapm.c ASoC: soc-component: merge snd_soc_component_read() and snd_soc_component_read32() 2020-06-22 15:13:36 +01:00
soc-devres.c ASoC: core: Remove only the registered component in devm functions 2020-07-07 11:55:46 +01:00
soc-generic-dmaengine-pcm.c ASoC: core: Remove only the registered component in devm functions 2020-07-07 11:55:46 +01:00
soc-jack.c ASoC: soc-card: move snd_soc_card_jack_new() to soc-card 2020-05-30 02:11:28 +01:00
soc-link.c ASoC: soc-link: introduce exit() callback 2020-06-23 12:25:37 +01:00
soc-ops.c ASoC: soc-component: merge snd_soc_component_read() and snd_soc_component_read32() 2020-06-22 15:13:36 +01:00
soc-pcm.c snd/soc: correct trivial kernel-doc inconsistency 2020-06-26 14:43:47 +01:00
soc-topology.c ASoC: topology: add more logs when topology load fails. 2020-07-08 14:25:22 +01:00
soc-utils.c asoc: Update supported rate and format for dummy dai 2020-06-29 18:48:51 +01:00