]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: wm_asdp: Validate sanity of algorithm count
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 19 Dec 2012 14:00:30 +0000 (14:00 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 8 Jan 2013 20:47:32 +0000 (20:47 +0000)
commitd62f4bc665f3efd2a3d20134f874608b8afce7a1
tree5a1bcd9b6c8b1d735f93891016a1d44e96f0e9c5
parent45b9ee72d0e70c11a01152ef4bec92718b55906b
ASoC: wm_asdp: Validate sanity of algorithm count

If we run into I/O problems the algorithm count may be crazy, validate it
before we proceed and dump the read data for diagnostic purposes.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm_adsp.c