commit | d1c9e5b37901b53ffc1ce3f08ec8ed61bfd557b6 | [log] [tgz] |
---|---|---|
author | Joakim Tjernlund <Joakim.Tjernlund@transmode.se> | Tue Sep 22 13:40:44 2009 +0200 |
committer | Heiko Schocher <hs@denx.de> | Mon Sep 28 07:35:56 2009 +0200 |
tree | 78182e8bca0369b4bbd625da4a41cf0c5267535e | |
parent | 99404202127346b9e91503bbd69deafa18c980c4 [diff] |
fsl_i2c: Do not generate STOP after read. __i2c_read always ends with a STOP condition thereby releasing the bus. It is cleaner to do the STOP magic in i2c_read(), like i2c_write() does. This may also help future multimaster systems which wants to hold on to the bus until all transactions are finished. Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>