linux_dsm_epyc7002/sound/soc/mediatek/mt8183
Tzung-Bi Shih 63ba8e4d04
ASoC: mediatek: mt8183: move card registration to the end of probe
mt8183_mt6358_ts3a227_max98357_dev_probe() does not return immediately
if devm_snd_soc_register_card() returns fail.  As a result, the rest of
code still get executed.

Two options to fix:
1. add an extra return statement if devm_snd_soc_register_card()
   returns fail
2. move devm_snd_soc_register_card() to the end of probe

Adopt option 2 which is more clear and common.

Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-05-23 14:34:43 +01:00
..
Makefile ASoC: Mediatek: MT8183: Add machine driver with DA7219 2019-04-01 15:04:46 +07:00
mt8183-afe-clk.c ASoC: mediatek: mt8183: skip for i2s5 in mck_disable 2019-03-18 14:43:24 +00:00
mt8183-afe-clk.h ASoC: mediatek: mt8183: add platform driver 2019-01-25 18:05:10 +00:00
mt8183-afe-common.h ASoC: mediatek: mt8183: add platform driver 2019-01-25 18:05:10 +00:00
mt8183-afe-pcm.c ASoC: Mediatek: MT8183: enable dev runtime suspend and resume 2019-05-23 14:34:29 +01:00
mt8183-da7219-max98357.c ASoC: mediatek: mt8183: remove unused DAPM pins 2019-05-23 14:34:36 +01:00
mt8183-dai-adda.c ASoC: Mediatek: MT8183: enable IIR filter 2019-05-20 15:21:09 +01:00
mt8183-dai-hostless.c ASoC: mediatek: mt8183: add platform driver 2019-01-25 18:05:10 +00:00
mt8183-dai-i2s.c ASoC: mediatek: mt8183: make some functions static 2019-02-13 11:52:47 +00:00
mt8183-dai-pcm.c ASoC: mediatek: mt8183: add platform driver 2019-01-25 18:05:10 +00:00
mt8183-dai-tdm.c ASoC: mediatek: mt8183: add platform driver 2019-01-25 18:05:10 +00:00
mt8183-interconnection.h ASoC: mediatek: mt8183: add platform driver 2019-01-25 18:05:10 +00:00
mt8183-mt6358-ts3a227-max98357.c ASoC: mediatek: mt8183: move card registration to the end of probe 2019-05-23 14:34:43 +01:00
mt8183-reg.h ASoC: mediatek: mt8183: add platform driver 2019-01-25 18:05:10 +00:00