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:09 +0000 (23:03 +0100)
commitc35d3cfdbc8d4fb4358a5bc97a334dbdb86e3d69
tree60f21b33f1014b873097065b058dc3fabc71e9eb
parent31f313d9bebfc17e48c787c8c36b38662b4134a1
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