]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.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)
committerPeter Huewe <peterhuewe@gmx.de>
Sat, 17 Jan 2015 14:03:50 +0000 (15:03 +0100)
commitc4eadfafb91d5501095c55ffadaa1168743f39d3
tree42c41981e13588f42c8b02a553a3a4c1bfa6d20f
parentaec04cbdf7231c1b0da76172de82dfa2388a80d7
tpm/tpm_i2c_stm_st33: Add status check when reading data on the FIFO

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