linux/sound/soc/pxa
Julia Lawall 64ca77d9f5
ASoC: mmp-sspa: drop unneeded snd_soc_dai_set_drvdata
snd_soc_dai_set_drvdata is not needed when the set data comes from
snd_soc_dai_get_drvdata or dev_get_drvdata.  The problem was fixed
usingthe following semantic patch: (http://coccinelle.lip6.fr/)

// <smpl>
@@
expression x,y,e;
@@
	x = dev_get_drvdata(y->dev)
	... when != x = e
-	snd_soc_dai_set_drvdata(y,x);

@@
expression x,y,e;
@@
	x = snd_soc_dai_get_drvdata(y)
	... when != x = e
-	snd_soc_dai_set_drvdata(y,x);
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Link: https://lore.kernel.org/r/20210213101907.1318496-2-Julia.Lawall@inria.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-03-10 13:07:05 +00:00
..
brownstone.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
corgi.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
e740_wm9705.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
e750_wm9705.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
e800_wm9712.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
em-x270.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
hx4700.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
imote2.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
Kconfig ASoC: Fix 7/8 spaces indentation in Kconfig 2020-11-17 17:08:45 +00:00
magician.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
Makefile ASoC: eliminate left-over from Raumfeld machine driver removal 2019-01-07 16:58:19 +00:00
mioa701_wm9713.c ASoC: pxa: rename to snd_soc_component_read() 2020-06-22 15:13:38 +01:00
mmp-pcm.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
mmp-sspa.c ASoC: mmp-sspa: drop unneeded snd_soc_dai_set_drvdata 2021-03-10 13:07:05 +00:00
mmp-sspa.h ASoC: mmp-sspa: Add Device Tree support 2020-05-19 20:52:49 +01:00
palm27x.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
poodle.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
pxa2xx-ac97.c ASoC: soc-core: remove bus_control 2020-01-21 17:07:08 +00:00
pxa2xx-i2s.c ASoC: pxa: sync parameter naming (rate/sample_bits) 2021-01-21 12:37:54 +00:00
pxa2xx-i2s.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
pxa2xx-pcm.c ASoC: pxa: Drop superfluous ioctl PCM ops 2019-12-11 15:58:04 +00:00
pxa-ssp.c ASoC: pxa: pxa-ssp: Remove redundant null check before clk_prepare_enable/clk_disable_unprepare 2020-11-05 14:52:35 +00:00
pxa-ssp.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
spitz.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
tosa.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
ttc-dkb.c ASoC: pxa: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI pointer 2020-03-27 14:44:43 +00:00
z2.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
zylonite.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00