]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: wm8400: Don't use range container for TLV with one entry
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 2 Aug 2015 15:19:59 +0000 (17:19 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 5 Aug 2015 12:23:56 +0000 (13:23 +0100)
commit0b65e6c7e22c93139b2b4efdd7ba6bd7bfa27fa7
treef8372241a0a75b8688a064734f593fe97e03f8f7
parentd3d383ba8b49fbb2024851442e09a104b1f030fe
ASoC: wm8400: Don't use range container for TLV with one entry

For TLVs with only a single entry it is not necessary to use a range
container. Use DECLARE_TLV_DB_SCALE() directly instead of a combination of
TLV_DB_RANGE_HEAD() and TLV_DB_SCALE_ITEM().

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8400.c