i2c-designware: Tx abort cleanups
authorShinya Kuribayashi <shinya.kuribayashi@necel.com>
Fri, 6 Nov 2009 12:51:57 +0000 (21:51 +0900)
committerBen Dooks <ben-linux@fluff.org>
Wed, 9 Dec 2009 00:19:13 +0000 (00:19 +0000)
commitce6eb574a1d9bbde72998ed9c95e9bf35c8f4131
tree8d4d10f65061ac39b1d48103dc2e2d23a4b10b63
parent597fe310f16d8246eec856326aa497bfa1b5bfa3
i2c-designware: Tx abort cleanups

* ABRT_MASTER_DIS: Fix a typo.

* i2c_dw_handle_tx_abort: Return an appropriate error number
  depending on abort_source.

* i2c_dw_xfer: Add a missing abort_source initialization.

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-designware.c