]> git.baikalelectronics.ru Git - kernel.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)
commit8a650de960a35bf55628792699d7bb5eb7c7a639
treeddf3c46c0e8cbc998f0745ef33fcd8922397e0f2
parentc3853d9564bf7e90c47d3f46debbc823409e7417
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