Commit 380c23ba authored by Gunnar Kudrjavets's avatar Gunnar Kudrjavets Committed by Greg Kroah-Hartman
Browse files

tpm_tis: Fix incorrect arguments in tpm_tis_probe_irq_single



[ Upstream commit 8a81236f ]

The tpm_tis_write8() call specifies arguments in wrong order. Should be
(data, addr, value) not (data, value, addr). The initial correct order
was changed during the major refactoring when the code was split.

Fixes: 41a5e1cf ("tpm/tpm_tis: Split tpm_tis driver into a core and TCG TIS compliant phy")
Signed-off-by: default avatarGunnar Kudrjavets <gunnarku@amazon.com>
Reviewed-by: default avatarJustinien Bouron <jbouron@amazon.com>
Reviewed-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
Reviewed-by: default avatarPaul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 436cfdbc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment