mirror of
https://github.com/torvalds/linux.git
synced 2024-12-14 23:25:54 +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> |
||
---|---|---|
.. | ||
common | ||
mt2701 | ||
mt6797 | ||
mt8173 | ||
mt8183 | ||
Kconfig | ||
Makefile |