aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorTzung-Bi Shih <[email protected]>2019-05-22 22:54:02 +0800
committerMark Brown <[email protected]>2019-05-23 14:34:43 +0100
commit63ba8e4d04ab921f8aaa89227d2e0f7ad79725be (patch)
treefa9bc1423c79f03b9bdd54a8823c16674bd37546 /tools/perf/scripts/python/bin
parent108d0d40b932f80fc7f1dbd1de548d666e649a4b (diff)
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 <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions