aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/soc/soc-core.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-07-27 09:39:43 +0800
committerMark Brown <broonie@kernel.org>2015-07-29 15:11:50 +0100
commit62d6d47cb8bd5ace08a90a1cd78f6908e9f9c2d3 (patch)
treee6b1d32738a20588db6a4ea9faec9c5d316c4cca /sound/soc/soc-core.c
parentASoC: max98090: Check for clk_prepare_enable() error (diff)
downloadwireguard-linux-62d6d47cb8bd5ace08a90a1cd78f6908e9f9c2d3.tar.xz
wireguard-linux-62d6d47cb8bd5ace08a90a1cd78f6908e9f9c2d3.zip
ASoC: max98090: Simplify max98090_readable_register implementation
The readable registers are in consecutive ranges: 0x01 ~ 0x03, 0x0D ~ 0xD1, 0xFF So simplify the implementation by specifying a range of consecutive values in a single case label. Signed-off-by: Axel Lin <axel.lin@ingics.com> Reviewed-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Tested-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-core.c')
0 files changed, 0 insertions, 0 deletions