]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: wm8991: Don't use range container for TLVs with one entry
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 2 Aug 2015 15:20:05 +0000 (17:20 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 5 Aug 2015 12:24:21 +0000 (13:24 +0100)
commit00769dbe3982c76dd68dac1d3f54328fa935bd21
tree2e3e707db9b46a9be93ce54403c045195364911e
parentdfd0edda1fb3cd7a7cdde56467d718b1e49e32d5
ASoC: wm8991: Don't use range container for TLVs with one entry

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

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