Commit a0366884 authored by Christophe Ricard's avatar Christophe Ricard Committed by Sasha Levin
Browse files

tpm/tpm_i2c_stm_st33: Add status check when reading data on the FIFO



[ Upstream commit c4eadfaf ]

Add a return value check when reading data from the FIFO register.

Cc: <stable@vger.kernel.org>
Reviewed-by: default avatarJason Gunthorpe <jason.gunthorpe@obsidianresearch.com>
Signed-off-by: default avatarChristophe Ricard <christophe-h.ricard@st.com>
Reviewed-by: default avatarPeter Huewe <peterhuewe@gmx.de>
Signed-off-by: default avatarPeter Huewe <peterhuewe@gmx.de>
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent 33c5b3ad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment