ALSA: tlv: add DECLARE_TLV_DB_RANGE()
authorClemens Ladisch <clemens@ladisch.de>
Sun, 20 Nov 2011 16:17:35 +0000 (17:17 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 16 Jul 2012 08:02:18 +0000 (10:02 +0200)
commitbf1d1c9b6179faa3bc32cee882462bc8eebde25d
treeaa3cc05edf9606d2bad631b2661bfd67ddfe8942
parent570aef5de13df21e42eeb90db67e2436bee91bd4
ALSA: tlv: add DECLARE_TLV_DB_RANGE()

Add a DECLARE_TLV_DB_RANGE() macro so that dB range information
can be specified without having to count the items manually for
TLV_DB_RANGE_HEAD().

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/tlv.h