commit | 6384da2cd140411580bdd2c6ded74412e38a46f5 | [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 | 5a6e06138d3085dbff8ec9c31fcd6d3f506ebd32 [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>