Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3aaa34b9 authored by Wolfram Sang's avatar Wolfram Sang
Browse files

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: default avatarWolfram Sang <wsa@the-dreams.de>
Reviewed-by: default avatarAlexander Sverdlin <alexander.sverdlin@nokia.com>
parent 4bb28e37
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment