]> 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)
commit35dd2cf8dcff6061f0792ce4e684def178cdefcc
treeddf3c46c0e8cbc998f0745ef33fcd8922397e0f2
parentb7d1df1780a6aa87705dba5ef9cc580500b8391a
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