aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/cs47l90.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2019-12-26 17:29:07 +0100
committerMark Brown <broonie@kernel.org>2019-12-31 00:21:20 +0000
commit9ea7a991cc27e9af1099b7a628c0ab210dc70a69 (patch)
tree6cc8f535a2b14c687ba93260e060efaa13c41ea7 /sound/soc/codecs/cs47l90.c
parentASoC: amd: Create multiple I2S platform device endpoint (diff)
downloadlinux-dev-9ea7a991cc27e9af1099b7a628c0ab210dc70a69.tar.xz
linux-dev-9ea7a991cc27e9af1099b7a628c0ab210dc70a69.zip
ASoC: cs47l92: Simplify error handling code in 'cs47l92_probe()'
If 'madera_init_bus_error_irq()' fails, 'wm_adsp2_remove(&cs47l92->core.adsp[0])' will be called twice. Once in the 'if' block, and once in the error handling path. This is harmless, but one of this call can be axed. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20191226162907.9490-1-christophe.jaillet@wanadoo.fr Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cs47l90.c')
0 files changed, 0 insertions, 0 deletions