linux/sound/soc
Dan Murphy edd6d53932
ASoC: tas2770: Fix snd_soc_update_bits error handling
According the documentation for snd_soc_update_bits the API
will return a 1 if the update was successful with a value change,
a 0 if the update was successful with no value change or a negative
if the command just failed.

So the value of return in the driver needs to be checked for being less
then 0 or the caller may indicate failure when the value actually
changed.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Link: https://lore.kernel.org/r/20191007171157.17813-1-dmurphy@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-10-07 19:09:04 +01:00
..
adi
amd ASoC: amd: acp3x: clean up indentation issue 2019-10-01 12:14:07 +01:00
atmel ASoC: Fixes for v5.4 2019-09-23 20:16:13 +02:00
au1x ASoC: au1x: psc-i2s: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:12:25 +01:00
bcm ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
cirrus ASoC: ep93xx: use devm_platform_ioremap_resource() to simplify code 2019-09-04 13:48:22 +01:00
codecs ASoC: tas2770: Fix snd_soc_update_bits error handling 2019-10-07 19:09:04 +01:00
dwc
fsl ASoC: fsl_mqs: Fix error handling in probe 2019-10-07 13:53:23 +01:00
generic SoC: simple-card-utils: set 0Hz to sysclk when shutdown 2019-09-09 10:51:21 +01:00
hisilicon
img
intel Merge branch 'asoc-5.4' into asoc-5.5 2019-10-02 12:50:40 +01:00
jz4740 ASoC: jz4740: Use of_device_get_match_data() 2019-10-07 13:52:26 +01:00
kirkwood ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
mediatek Merge branch 'asoc-5.4' into asoc-next 2019-09-15 10:31:44 +01:00
meson Merge branch 'asoc-5.3' into asoc-linus 2019-09-15 10:31:42 +01:00
mxs ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
pxa ASoC: mmp-sspa: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:10:54 +01:00
qcom chrome platform changes for v5.4 2019-09-19 14:14:28 -07:00
rockchip LED updates for 5.4-rc1 2019-09-17 18:40:42 -07:00
samsung ASoC: samsung: Rename Arndale card driver 2019-10-02 12:52:04 +01:00
sh ASoC: rsnd: do error check after rsnd_channel_normalization() 2019-09-18 18:29:52 +01:00
sirf ASoC: sirf: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:05:39 +01:00
sof Merge branch 'asoc-5.4' into asoc-5.5 2019-10-02 12:50:40 +01:00
spear ASoC: spear: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:06:18 +01:00
sprd ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
sti ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
stm ASoC: stm32: sai: clean up indentation issue 2019-10-01 12:15:06 +01:00
sunxi ASoC: sun4i: Revert A83t description 2019-08-27 19:22:02 +01:00
tegra ASoC: tegra: use devm_platform_ioremap_resource() to simplify code 2019-09-04 13:48:50 +01:00
ti ASoC: Fixes for v5.4 2019-09-23 20:16:13 +02:00
txx9
uniphier Merge branch 'asoc-5.3' into asoc-5.4 2019-08-20 18:28:43 +01:00
ux500
xilinx ASoC: xlnx: Use devm_platform_ioremap_resource() in xlnx_formatter_pcm_probe() 2019-10-01 12:09:17 +01:00
xtensa ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
zte ASoC: zx-tdm: remove redundant assignment to ts_width on error return path 2019-08-01 13:56:26 +01:00
Kconfig ASoC: remove w90x900/nuc900 platform drivers 2019-08-12 14:00:29 +01:00
Makefile ASoC: remove w90x900/nuc900 platform drivers 2019-08-12 14:00:29 +01:00
soc-ac97.c
soc-acpi.c
soc-component.c ASoC: soc-component: add snd_soc_pcm_component_pcm_free() 2019-08-05 16:27:16 +01:00
soc-compress.c ASoC: core: Move pcm_mutex up to card level from snd_soc_pcm_runtime 2019-08-15 15:07:43 +01:00
soc-core.c ASoC: soc-core: setup card->rtd_num at snd_soc_instantiate_card() 2019-10-03 14:37:01 +01:00
soc-dai.c ASoC: soc-dai: move snd_soc_dai_stream_valid() to soc-dai.c 2019-07-23 18:14:26 +01:00
soc-dapm.c ASoC: soc-core: add snd_soc_dapm_init() 2019-09-02 13:21:20 +01:00
soc-devres.c
soc-generic-dmaengine-pcm.c ASoC: pcm_dmaengine: Extract snd_dmaengine_pcm_refine_runtime_hwparams 2019-10-01 12:18:25 +01:00
soc-io.c
soc-jack.c ASoC: add soc-component.c 2019-08-05 16:16:19 +01:00
soc-ops.c ASoC: soc-ops: use snd_soc_card_get_kcontrol() at snd_soc_limit_volume() 2019-10-03 14:37:20 +01:00
soc-pcm.c Merge branch 'asoc-5.4' into asoc-5.5 2019-10-02 12:50:40 +01:00
soc-topology.c Merge branch 'asoc-5.4' into asoc-5.5 2019-10-02 12:50:40 +01:00
soc-utils.c ASoC: add soc-component.c 2019-08-05 16:16:19 +01:00