aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLars-Peter Clausen <[email protected]>2014-10-25 17:41:57 +0200
committerMark Brown <[email protected]>2014-10-28 00:19:59 +0000
commit98407efc1384b31cdcb1eeddc74ee35499d3418f (patch)
treefad0b13207aa72662e5b45420c8c3a83e0fd24e9 /tools/perf/scripts/python
parent4a2019480bc5146eb54fc5f0b2ff57b95629a09a (diff)
ASoC: dapm: Do not add un-muxed paths to MUX control
Paths that are directly connected to a MUX widget are not affected by changes to the MUX's control. Rather than checking if a path is directly connected each time the MUX is updated do it only once when MUX is created. We can also remove the check for e->texts[mux] != NULL, since if that condition was true the code would have had already crashed much earlier (And generally speaking if a enum's 'texts' entry is NULL it's a bug in the driver). Signed-off-by: Lars-Peter Clausen <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions