summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorRustam Adilov <adilov@disroot.org>2026-04-01 23:06:42 +0500
committerAndi Shyti <andi.shyti@kernel.org>2026-04-02 00:09:06 +0200
commit98773df61f8416594ac993e8464df596755ee1b8 (patch)
treee2dc440d1bc847447f808a353d178109c526e0f3 /tools/lib/python
parent4c53b2eb4f18102c36d4bcaf8c604a1825701ffb (diff)
i2c: rtl9300: introduce max length property to driver data
In RTL9607C i2c controller, theoretical maximum the data length can be is 4 bytes as opposed to 16 bytes on rtl9300 and rtl9310. Introduce a new property to the driver data struct for that. Adjust if statement in prepare_xfer function to follow that new property instead of the hardcoded value. Signed-off-by: Rustam Adilov <adilov@disroot.org> Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by: Andi Shyti <andi.shyti@kernel.org> Link: https://lore.kernel.org/r/20260401180648.337834-3-adilov@disroot.org
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions