linux-stable/sound/soc
Amadeusz Sławiński bab8585ef5 ASoC: topology: Allow TLV control to be either read or write
commit feb00b736a upstream.

There is no reason to force readwrite access on TLV controls. It can be
either read, write or both. This is further evidenced in code where it
performs following checks:
                if ((k->access & SNDRV_CTL_ELEM_ACCESS_TLV_READ) && !sbe->get)
                        return -EINVAL;
                if ((k->access & SNDRV_CTL_ELEM_ACCESS_TLV_WRITE) && !sbe->put)
                        return -EINVAL;

Fixes: 1a3232d2f6 ("ASoC: topology: Add support for TLV bytes controls")
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220112170030.569712-3-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-04-20 09:08:25 +02:00
..
adi
amd
atmel ASoC: atmel: Add missing of_node_put() in at91sam9g20ek_audio_probe 2022-04-20 09:08:15 +02:00
au1x ASoC: au1x: Fix timeout tests in au1xac97c_ac97_read() 2018-04-26 11:02:03 +02:00
bcm
blackfin
cirrus ASoC: cirrus: i2s: Fix {TX|RX}LinCtrlData setup 2018-07-03 11:24:48 +02:00
codecs ASoC: msm8916-wcd-digital: Fix missing clk_disable_unprepare() in msm8916_wcd_digital_probe 2022-04-20 09:08:16 +02:00
davinci ASoC: ti: davinci-i2s: Add check for clk_enable() 2022-04-20 09:08:14 +02:00
dwc
fsl ASoC: imx-es8328: Fix error return code in imx_es8328_probe() 2022-04-20 09:08:16 +02:00
generic
hisilicon ASoC: hisilicon: fix missing clk_disable_unprepare() on error in hi6210_i2s_startup() 2021-07-20 16:17:39 +02:00
img
intel ASoC: Intel: bytcr_rt5640: Move "Platform Clock" routes to the maps for the matching in-/output 2021-09-22 11:45:29 +02:00
jz4740 ASoC: jz4740-i2s: add missed checks for clk_get() 2020-12-29 13:46:58 +01:00
kirkwood ASoC: kirkwood: fix IRQ error handling 2020-10-01 13:12:26 +02:00
mediatek ASoC: mediatek: mt8173: fix device_node leak 2022-01-27 09:00:58 +01:00
mxs ASoC: mxs: Fix error handling in mxs_sgtl5000_probe 2022-04-20 09:08:16 +02:00
nuc900 ASoC: nuc900: Fix a loop timeout test 2018-03-19 08:42:55 +01:00
omap ASoC: omap-dmic: Add pm_qos handling to avoid overruns with CPU_IDLE 2018-12-17 09:28:50 +01:00
pxa
qcom ASoC: qcom: lpass-platform: Fix memory leak 2020-11-24 13:05:49 +01:00
rockchip ASoC: rockchip: i2s: Fixup config for DAIFMT_DSP_A/B 2021-09-22 11:45:31 +02:00
samsung ASoC: samsung: idma: Check of ioremap return value 2022-01-27 09:00:53 +01:00
sh ASoC: fsi: Add check for clk_enable 2022-04-20 09:08:15 +02:00
sirf ASoC: sirf: Fix potential NULL pointer dereference 2018-09-05 09:26:39 +02:00
spear
sti ASoC: sti: fix possible sleep-in-atomic 2020-02-05 14:18:20 +00:00
stm ASoC: stm32: spdifrx: fix race condition in irq handler 2020-01-17 19:45:44 +01:00
sunxi ASoC: sunxi: sun4i-codec: fill ASoC card owner 2021-04-16 11:57:50 +02:00
tegra ASoC: tegra: Set driver_name=tegra for all machine drivers 2021-07-20 16:17:46 +02:00
txx9
ux500 ASoC: ux500: add MODULE_LICENSE tag 2018-02-25 11:07:51 +01:00
xtensa
zte ASoC: zte: Fix incorrect PCM format bit usages 2018-09-05 09:26:39 +02:00
Kconfig
Makefile
soc-ac97.c
soc-cache.c
soc-compress.c
soc-core.c ASoC: soc-core: skip zero num_dai component in searching dai name 2022-04-20 09:08:23 +02:00
soc-dapm.c ASoC: DAPM: Cover regression by kctl change notification fix 2021-11-26 11:40:41 +01:00
soc-devres.c
soc-generic-dmaengine-pcm.c ASoC: dmaengine: do not use a NULL prepare_slave_config() callback 2022-04-20 09:08:16 +02:00
soc-io.c
soc-jack.c ASoC: Jack: Fix NULL pointer dereference in snd_soc_jack_report 2019-12-17 20:39:27 +01:00
soc-ops.c ASoC: ops: Shift tested values in snd_soc_put_volsw() by +min 2022-03-08 19:01:56 +01:00
soc-pcm.c ASoC: pcm: DRAIN support reactivation 2020-12-29 13:46:52 +01:00
soc-topology.c ASoC: topology: Allow TLV control to be either read or write 2022-04-20 09:08:25 +02:00
soc-utils.c