]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tpm/tpm_i2c_stm_st33: Add status check when reading data on the FIFO
authorChristophe Ricard <christophe.ricard@gmail.com>
Tue, 13 Jan 2015 22:13:14 +0000 (23:13 +0100)
committerSasha Levin <sasha.levin@oracle.com>
Sat, 28 Mar 2015 13:43:13 +0000 (09:43 -0400)
commita0366884749ec748126fa1934a030f46dcbf8d45
tree2b929e4ccdf4988f4d449f7b74b4a04ba2e648ed
parent33c5b3ad4b54d9477d5ad85b5fd811d0500676e5
tpm/tpm_i2c_stm_st33: Add status check when reading data on the FIFO

[ Upstream commit c4eadfafb91d5501095c55ffadaa1168743f39d3 ]

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>
drivers/char/tpm/tpm_i2c_stm_st33.c