diff options
author | Peter Huewe <peter.huewe@infineon.com> | 2017-03-02 13:03:14 +0000 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2017-04-03 22:46:01 +0300 |
commit | 591e48c26ced7c455751eef27fb5963e902c2137 (patch) | |
tree | ede004a7575d5d7a82e139775589b567f481ef32 /drivers/char/agp/uninorth-agp.c | |
parent | e110cc69dc2ad679d6d478df636b99b14e6fbbc9 (diff) | |
download | talos-obmc-linux-591e48c26ced7c455751eef27fb5963e902c2137.tar.gz talos-obmc-linux-591e48c26ced7c455751eef27fb5963e902c2137.zip |
tpm_tis_spi: Remove limitation of transfers to MAX_SPI_FRAMESIZE bytes
Limiting transfers to MAX_SPI_FRAMESIZE was not expected by the upper
layers, as tpm_tis has no such limitation. Add a loop to hide that
limitation.
v2: Moved scope of spi_message to the top as requested by Jarkko
Cc: <stable@vger.kernel.org>
Fixes: 0edbfea537d1 ("tpm/tpm_tis_spi: Add support for spi phy")
Signed-off-by: Alexander Steffen <Alexander.Steffen@infineon.com>
Signed-off-by: Peter Huewe <peter.huewe@infineon.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Benoit Houyere <benoit.houyere@st.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'drivers/char/agp/uninorth-agp.c')
0 files changed, 0 insertions, 0 deletions