]> git.karo-electronics.de Git - linux-beck.git/commit
iio: mxs-lradc: Check the return value from stmp_reset_block()
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 10 Jul 2013 02:36:00 +0000 (03:36 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 3 Aug 2013 17:40:33 +0000 (18:40 +0100)
commit947123d53fe0305536c202a36d5ba123ab83b362
treeb4cdeb84c5d88c0e95688b075c314fef28f634f2
parent70ea35fba29e6c80f5f668d585203a0062caed96
iio: mxs-lradc: Check the return value from stmp_reset_block()

stmp_reset_block() may fail, so let's check its return value and propagate it in
the case of error.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Marek Vasut <marex@denx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/mxs-lradc.c