ASoC: sgtl5000: fix DB_RANGE size
authorClemens Ladisch <clemens@ladisch.de>
Sun, 20 Nov 2011 14:12:26 +0000 (15:12 +0100)
committerClemens Ladisch <clemens@ladisch.de>
Sun, 20 Nov 2011 14:46:50 +0000 (15:46 +0100)
commit740fb9d512d91b1d6192ea13c109efa05b101424
tree33ef92d1763c1dbd0d3fa3a51fa4dce991aecd21
parenta19ea0b8ec1f6892bf18f461d5023c9299e1417b
ASoC: sgtl5000: 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/sgtl5000.c