ASoC: adau1701: signedness bug in adau1701_write()
authorDan Carpenter <error27@gmail.com>
Mon, 20 Jun 2011 07:11:25 +0000 (10:11 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 20 Jun 2011 17:46:33 +0000 (18:46 +0100)
commitc20974090e9093b8b69b37543cba381336c41ab7
treed2170dfc919dd547cbf105b1e52b8dcdaa4615fd
parent29376bc7e2bbb745c9ad47e48ca706ac5a24897f
ASoC: adau1701: signedness bug in adau1701_write()

"ret" is supposed to be signed here.  The current code will only
return -EIO on error, instead of a more appropriate error code such
as -EAGAIN etc.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/adau1701.c