mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 07:01:32 +00:00
63ba8e4d04
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> |
||
---|---|---|
.. | ||
Makefile | ||
mt8183-afe-clk.c | ||
mt8183-afe-clk.h | ||
mt8183-afe-common.h | ||
mt8183-afe-pcm.c | ||
mt8183-da7219-max98357.c | ||
mt8183-dai-adda.c | ||
mt8183-dai-hostless.c | ||
mt8183-dai-i2s.c | ||
mt8183-dai-pcm.c | ||
mt8183-dai-tdm.c | ||
mt8183-interconnection.h | ||
mt8183-mt6358-ts3a227-max98357.c | ||
mt8183-reg.h |