aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/compiler-gcc.h
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2015-06-16 13:57:29 -0400
committerWolfram Sang <wsa@the-dreams.de>2015-06-21 15:24:10 -0400
commit3aaa34b9923b994c13267e05ce8246faa1e8c8eb (patch)
tree37df588435266a1613ee980474cfa12d1efb2f49 /include/linux/compiler-gcc.h
parent4bb28e37765f4b5b18cb3b9242aa8542e8c4b8b4 (diff)
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 'include/linux/compiler-gcc.h')
0 files changed, 0 insertions, 0 deletions