]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
ASoC: cs42l73: Use case range at appropriate place
authorAxel Lin <axel.lin@ingics.com>
Wed, 12 Aug 2015 03:10:49 +0000 (11:10 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 14 Aug 2015 16:31:19 +0000 (17:31 +0100)
commitfbf917e14eb65689ad80290170f7d615be711fb7
treeb0cf8bd6ee7d52da7cc882cb6050b3f468ac5d1b
parent8626e5eb6c33b78ba7a5eb7cfbc5109896f443ef
ASoC: cs42l73: Use case range at appropriate place

The readable registers are in continuous ranges: 0x01 ~ 0x03, 0x05 ~ 0x5f.
Use case range syntax makes the code shorter with better readability when
we have a large number of continuous switch cases.
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>
sound/soc/codecs/cs42l73.c