diff options
author | 2015-06-14 10:28:01 +0800 | |
---|---|---|
committer | 2015-06-15 11:05:43 +0100 | |
commit | b43fccf4b5cae58829abbeae497a98505fa1a5e9 (patch) | |
tree | 963675e41f0658c9af8711f0dd9f911d069828b7 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Linux 4.1-rc1 (diff) | |
download | wireguard-linux-b43fccf4b5cae58829abbeae497a98505fa1a5e9.tar.xz wireguard-linux-b43fccf4b5cae58829abbeae497a98505fa1a5e9.zip |
ASoC: ml26124: Remove duplicate code
Current code has duplicate code for 16000, 32000 and 48000 sample rates.
get_srate() returns negative error code for unsupported rate, so we can
remove the duplicate code in the swith cases by calling get_srate() first.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions