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>
This commit is contained in:
Mark Brown 2012-12-19 14:00:30 +00:00
commit d62f4bc665