pwm: mxs: Check the return value from stmp_reset_block()
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 10 Jul 2013 02:25:37 +0000 (23:25 -0300)
committerThierry Reding <thierry.reding@gmail.com>
Tue, 3 Sep 2013 11:07:51 +0000 (13:07 +0200)
commitcfb9e4c40e87dffdce96d3a95c33d01f441b2470
treeee66cf7481b49aa44e7757c930a628c76e24f0ea
parent9da01759636f519967c0922ae12bd9fff739db9a
pwm: mxs: 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>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-mxs.c