ASoC: Avoid wraparound in wm_hubs DC servo correction
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 29 Mar 2010 14:24:40 +0000 (15:24 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 5 Apr 2010 15:17:39 +0000 (16:17 +0100)
commit3fa49e3ad9ac20b15edfb0c51bbad36e45a84b17
tree17c81c5b8f5178ca807c07f4edacbcbfb2672ff0
parentb5442a75deee293d10c2ab8f4a77013973c4c9e0
ASoC: Avoid wraparound in wm_hubs DC servo correction

If the correction wraps around then a substantial offset would be
introduced.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/codecs/wm_hubs.c