ASoC: wm9090: fix DB_RANGE size
authorClemens Ladisch <clemens@ladisch.de>
Sun, 20 Nov 2011 14:14:55 +0000 (15:14 +0100)
committerClemens Ladisch <clemens@ladisch.de>
Sun, 20 Nov 2011 14:46:51 +0000 (15:46 +0100)
commita1320fee27352b608a82020a47a59bb15e6e5db8
tree8ca9f179f4b63cfa0dc1f2570ec0b712bd6b3388
parentdac678f5c281fac55aadfa5f390c12a8d14bbc67
ASoC: wm9090: 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 arrays.

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