]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4b9892ade9ab78f22ec5ad84f91b7044e9f50fdf
tree33ef92d1763c1dbd0d3fa3a51fa4dce991aecd21
parentd575f07413e229480642c7e5990af73e80ee2ba8
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