diff options
author | 2012-09-12 16:28:00 +0530 | |
---|---|---|
committer | 2012-09-12 15:02:21 +0200 | |
commit | 6d9939f651419a63e091105663821f9c7d3fec37 (patch) | |
tree | 3055c4a8aaab04f63b87bed2dde7f37c35daf16c /tools/perf/scripts/python | |
parent | i2c: omap: simplify omap_i2c_ack_stat() (diff) | |
download | linux-dev-6d9939f651419a63e091105663821f9c7d3fec37.tar.xz linux-dev-6d9939f651419a63e091105663821f9c7d3fec37.zip |
i2c: omap: split out [XR]DR and [XR]RDY
While they do pretty much the same thing, there
are a few peculiarities. Specially WRT erratas,
it's best to split those out and re-factor the
read/write loop to another function which both
cases call.
This last part will be done on another patch.
While at that, also avoid an unncessary register
read since dev->fifo_len will always contain the
correct amount of data to be transferred.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions