i2c: mxs: Handle i2c DMA failure properly
authorMarek Vasut <marex@denx.de>
Sun, 18 Nov 2012 05:25:07 +0000 (06:25 +0100)
committerWolfram Sang <w.sang@pengutronix.de>
Thu, 22 Nov 2012 22:03:34 +0000 (23:03 +0100)
commit958f9889950ef257f601c4902137caff291d5dd7
treee7feaa68cd2a814384ec7d01a7f0bf6f89a3ccd5
parent963f2076e3b4d62e219b3fa60de7b50e335f5783
i2c: mxs: Handle i2c DMA failure properly

Properly terminate the DMA transfer in case the DMA PIO transfer
or setup fails for any reason.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/busses/i2c-mxs.c