diff options
author | 2015-06-16 19:57:29 +0200 | |
---|---|---|
committer | 2015-06-21 21:24:10 +0200 | |
commit | 3aaa34b9923b994c13267e05ce8246faa1e8c8eb (patch) | |
tree | 37df588435266a1613ee980474cfa12d1efb2f49 /tools/perf/scripts/python | |
parent | i2c: tegra: don't advertise SMBUS_QUICK (diff) | |
download | linux-dev-3aaa34b9923b994c13267e05ce8246faa1e8c8eb.tar.xz linux-dev-3aaa34b9923b994c13267e05ce8246faa1e8c8eb.zip |
i2c: tegra: apply size limit quirk
payload_size is a 12 bit field in the HW register, so add a limit for
this size. That way we gracefully reject the message beforehand instead
of generating an OOPS while transferring. Verified using some older
Tegra2 documentation and a more recent Jetson TK1 board.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions