diff options
author | Jean Delvare <[email protected]> | 2009-12-06 17:06:17 +0100 |
---|---|---|
committer | Jean Delvare <[email protected]> | 2009-12-06 17:06:17 +0100 |
commit | 6f7e549f873e9ff10a4a27241db568bf7988ee0c (patch) | |
tree | 7b8d37442fe3b6ebbaedda63deb65276a2371c9b /tools/perf/scripts/python/check-perf-trace.py | |
parent | dddc66ffa048fbc842f5de385031f1826649ffc2 (diff) |
i2c-powermac: Reject unsupported I2C transactions
The i2c-powermac driver doesn't support arbitrary multi-message I2C
transactions, only SMBus ones. Make it clear by returning an error if
a multi-message I2C transaction is attempted. This is better than only
processing the first message, because most callers won't recover from
the short transaction. Anyone wishing to issue multi-message
transactions should use the SMBus API instead of the raw I2C API.
Signed-off-by: Jean Delvare <[email protected]>
Tested-by: Michel Daenzer <[email protected]>
Acked-by: Benjamin Herrenschmidt <[email protected]>
Cc: Paul Mackerras <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions