aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorAlexander Sverdlin <alexander.sverdlin@siemens.com>2023-05-24 17:40:40 +0200
committerJarkko Sakkinen <jarkko@kernel.org>2023-07-17 19:32:30 +0000
commit83e7e5d89f04d1c417492940f7922bc8416a8cc4 (patch)
treed0a987759a9ef6a9f9f1e34a8ddb13f6d1597ac2 /scripts/generate_rust_analyzer.py
parenttpm: tis_i2c: Limit read bursts to I2C_SMBUS_BLOCK_MAX (32) bytes (diff)
downloadlinux-rng-83e7e5d89f04d1c417492940f7922bc8416a8cc4.tar.xz
linux-rng-83e7e5d89f04d1c417492940f7922bc8416a8cc4.zip
tpm: tis_i2c: Limit write bursts to I2C_SMBUS_BLOCK_MAX (32) bytes
Underlying I2C bus drivers not always support longer transfers and imx-lpi2c for instance doesn't. The fix is symmetric to previous patch which fixed the read direction. Cc: stable@vger.kernel.org # v5.20+ Fixes: bbc23a07b072 ("tpm: Add tpm_tis_i2c backend for tpm_tis_core") Tested-by: Michael Haener <michael.haener@siemens.com> Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com> Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org> Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions