i2c: mxs: Check the return value from stmp_reset_block()
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 11 Jul 2013 01:19:28 +0000 (22:19 -0300)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 15 Aug 2013 09:59:09 +0000 (11:59 +0200)
commit63151c539d790732f22d59d4c89766dd9b5284d2
tree2a372196eb1871ed3157bc8a442c596a37338863
parent2806914f5d027c225c7562a0f2dd7e20c3ba8beb
i2c: 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>
Acked-by: Marek Vasut <marex@denx.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-mxs.c