mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
tpm/tpm_i2c_stm_st33: Add status check when reading data on the FIFO
[ Upstream commit c4eadfafb9 ]
Add a return value check when reading data from the FIFO register.
Cc: <stable@vger.kernel.org>
Reviewed-by: Jason Gunthorpe <jason.gunthorpe@obsidianresearch.com>
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Reviewed-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
This commit is contained in:
parent
33c5b3ad4b
commit
a036688474
1 changed files with 6 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue