diff options
| author | 2017-12-12 16:43:09 -0600 | |
|---|---|---|
| committer | 2017-12-13 12:28:55 +0000 | |
| commit | 64aab89974ebddf4cc67e4ed8996d879a9d054b9 (patch) | |
| tree | f558f7fa8329cff8f89abf6116b782094d14bad3 /tools/perf/scripts/python/compaction-times.py | |
| parent | ASoC: tlv320aic32x4: Use snd_soc_update_bits() in aic32x4_mute() (diff) | |
| download | wireguard-linux-64aab89974ebddf4cc67e4ed8996d879a9d054b9.tar.xz wireguard-linux-64aab89974ebddf4cc67e4ed8996d879a9d054b9.zip | |
ASoC: tlv320aic32x4: Use snd_soc_update_bits() in aic32x4_hw_params()
Make the code easier to read by using snd_soc_update_bits() over
read/modify/write sequences. Also use separate per-register
variables instead of re-using "data". This can prevent accidental
over-writing and makes it clear for which register each bit value is
intended.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
