summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/tas2552.c
diff options
context:
space:
mode:
authorAxel Lin2015-08-12 05:07:46 +0200
committerMark Brown2015-08-14 18:30:02 +0200
commitc17633081a0dc4c9f8c28b7a77ac5b63a1780e49 (patch)
tree85941ae160f419671e87651ac948080c5d4f6d56 /sound/soc/codecs/tas2552.c
parentASoC: cs35l32: Remove unneeded NULL test for cs35l32->reset_gpio (diff)
downloadkernel-qcow2-linux-c17633081a0dc4c9f8c28b7a77ac5b63a1780e49.tar.gz
kernel-qcow2-linux-c17633081a0dc4c9f8c28b7a77ac5b63a1780e49.tar.xz
kernel-qcow2-linux-c17633081a0dc4c9f8c28b7a77ac5b63a1780e49.zip
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/codecs/tas2552.c')
0 files changed, 0 insertions, 0 deletions