ASoC: wm8993: fix DB_RANGE size
commitdac678f5c281fac55aadfa5f390c12a8d14bbc67
authorClemens Ladisch <clemens@ladisch.de>
Sun, 20 Nov 2011 14:14:11 +0000 (20 15:14 +0100)
committerClemens Ladisch <clemens@ladisch.de>
Sun, 20 Nov 2011 14:46:51 +0000 (20 15:46 +0100)
tree0041e63a19da9e57d55930509ded9581298965c0
parent43e9dc7bce9f21355cd2aa493a99281eae03b156
ASoC: wm8993: fix DB_RANGE size

Give the correct number of entries to TLV_DB_RANGE_HEAD to prevent
reading more data than actually is in the array.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
sound/soc/codecs/wm8993.c