diff options
author | Jason Gunthorpe <jgunthorpe@obsidianresearch.com> | 2016-04-27 18:58:46 +0200 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2016-06-25 16:26:35 +0200 |
commit | ced01b9ffc482d45b57d368a6382e498aa24f66a (patch) | |
tree | 0e5d553e7aca2bd91b7bc44d6a5dec1229268e87 /drivers/regulator/pfuze100-regulator.c | |
parent | tpm: Add documentation for the tpm_vtpm_proxy device driver (diff) | |
download | linux-ced01b9ffc482d45b57d368a6382e498aa24f66a.tar.xz linux-ced01b9ffc482d45b57d368a6382e498aa24f66a.zip |
tpm: Fix IRQ unwind ordering in TIS
The devm for the IRQ was placed on the chip, not the pdev. This can
cause the irq to be still callable after the pdev has been cleaned up
(eg priv kfree'd).
Found by CONFIG_DEBUG_SHIRQ=y
Reported-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Fixes: 233a065e0cd0 ("tpm: Get rid of chip->pdev")
Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Tested-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'drivers/regulator/pfuze100-regulator.c')
0 files changed, 0 insertions, 0 deletions