diff options
author | Jason Gunthorpe <[email protected]> | 2017-05-04 09:53:23 -0600 |
---|---|---|
committer | Jarkko Sakkinen <[email protected]> | 2017-06-13 22:02:08 +0300 |
commit | d27f81f061bbde627ac4fbd735114f9ea2c63615 (patch) | |
tree | 8b3e9e24ffc4106dcb13058f64ec3369d94d063c /net/unix/af_unix.c | |
parent | 175d5b2a570cc0f79a23dbaf86e35e660f6f544f (diff) |
tpm_tis: Fix IRQ autoprobing when using platform_device
The test was backwards, triggering IRQ autoprobing if the firmware
did not specify an IRQ, instead of triggering it only when the
module force parameter was specified.
Since autoprobing is not enabled on !x86 and the platform device is
currently only used on !x86, or with force, this has gone unnoticed.
Fixes: 00194826e6be ("tpm_tis: Clean up the force=1 module parameter")
Signed-off-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Tested-by: Jerry Snitselaar <[email protected]> (with TPM 2.0)
Tested-by: Jarkko Sakkinen <[email protected]> (with TPM 1.2)
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions