summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/atom/sst-atom-controls.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-08-12 11:07:46 +0800
committerMark Brown <broonie@kernel.org>2015-08-14 17:30:02 +0100
commitc17633081a0dc4c9f8c28b7a77ac5b63a1780e49 (patch)
tree85941ae160f419671e87651ac948080c5d4f6d56 /sound/soc/intel/atom/sst-atom-controls.c
parentd5a78c8ea050e9c81db1e25a4916d8d9168dfb2e (diff)
downloadlinux-c17633081a0dc4c9f8c28b7a77ac5b63a1780e49.tar.bz2
ASoC: cs35l32: Use case range at appropriate places
Use case range syntax makes the code shorter with better readability when we have a large number of continuous switch cases. Below are the summary of readable/volatile/precious registers. The readable registers: 0x01 ~ 0x0D, 0x0F ~ 0x1C The volatile registers: 0x01 ~ 0x05, 0x15 ~ 0x18 The precious registers: 0x15 ~ 0x18 No functional change with this patch. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Brian Austin <brian.austin@cirrus.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/atom/sst-atom-controls.c')
0 files changed, 0 insertions, 0 deletions