]> rtime.felk.cvut.cz Git - linux-imx.git/commit
ASoC: wm_hubs: fix DB_RANGE size
authorClemens Ladisch <clemens@ladisch.de>
Sun, 20 Nov 2011 14:15:31 +0000 (15:15 +0100)
committerClemens Ladisch <clemens@ladisch.de>
Sun, 20 Nov 2011 14:46:52 +0000 (15:46 +0100)
commit028aa634e180107ac93b790c0fed7376c0402d1a
treeddf3c46c0e8cbc998f0745ef33fcd8922397e0f2
parenta1320fee27352b608a82020a47a59bb15e6e5db8
ASoC: wm_hubs: 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/wm_hubs.c