WSL2-Linux-Kernel/sound/soc
Mark Brown 10043bb6af ASoC: rt5645: Avoid upgrading static warnings to errors
One of the fixes reverted as part of the UMN fallout was actually fine,
however rather than undoing the revert the process that handled all this
stuff resulted in a patch which attempted to add extra error checks
instead.  Unfortunately this new change wasn't really based on a good
understanding of the subsystem APIs and bypassed the usual patch flow
without ensuring it was reviewed by people with subsystem knowledge and
was merged as a fix rather than during the merge window.

The effect of the new fix is to upgrade what were previously warnings on
static data in the code to hard errors on that data.  If this actually
happens then it would break existing systems, if it doesn't happen then
the change has no effect so this was not a safe change to apply as a fix
to the release candidates.  Since the new code has not been tested and
doesn't in practice improve error handling revert it instead, and also
drop the original revert since the original fix was fine.  This takes
the driver back to what it was in -rc1.

Fixes: 5e70b8e22b ("ASoC: rt5645: add error checking to rt5645_probe function")
Fixes: 1e0ce84215 ("Revert "ASoC: rt5645: fix a NULL pointer dereference")
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Phillip Potter <phil@philpotter.co.uk>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20210608160713.21040-1-broonie@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
(cherry picked from commit 916cccb507)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2021-06-24 12:22:27 +02:00
..
adi
amd ASoC: AMD Renoir: Remove fix for DMI entry on Lenovo 2020 platforms 2021-06-03 13:55:19 +01:00
atmel
au1x
bcm
cirrus
codecs ASoC: rt5645: Avoid upgrading static warnings to errors 2021-06-24 12:22:27 +02:00
dwc
fsl ASoC: Fixes for v5.13 2021-06-08 16:59:19 +02:00
generic ASoC: audio-graph: tidyup graph_parse_node() 2021-05-11 15:46:51 +01:00
hisilicon
img
intel ASoC: Fixes for v5.13 2021-05-25 08:58:01 +02:00
jz4740
kirkwood
mediatek
meson
mxs
pxa
qcom ASoC: qcom: lpass-cpu: Fix pop noise during audio capture begin 2021-06-07 15:54:08 +01:00
rockchip
samsung
sh
sof ASoC: Fixes for v5.13 2021-06-08 16:59:19 +02:00
spear
sprd
sti
stm
sunxi
tegra
ti
uniphier
ux500
xilinx
xtensa
Kconfig
Makefile
soc-ac97.c
soc-acpi.c
soc-card.c
soc-component.c
soc-compress.c
soc-core.c ASoC: core: Fix Null-point-dereference in fmt_single_name() 2021-05-24 09:49:28 +01:00
soc-dai.c
soc-dapm.c
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-jack.c
soc-link.c
soc-ops.c
soc-pcm.c
soc-topology-test.c
soc-topology.c ASoC: topology: Fix spelling mistake "vesion" -> "version" 2021-06-01 14:02:59 +01:00
soc-utils.c