Patch "tpm_tis: Use devm_free_irq not free_irq" has been added to the 4.4-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
tpm_tis: Use devm_free_irq not free_irq
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
tpm_tis-use-devm_free_irq-not-free_irq.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
727f28b8ca24a581c7bd868326b8cea1058c720aMon Sep 17 00:00:00 2001
From: Jason Gunthorpe <[email protected]>
Date: Wed, 25 Nov 2015 14:05:30 -0700
Subject: tpm_tis: Use devm_free_irq not free_irq
From: Jason Gunthorpe <[email protected]>
commit 727f28b8ca24a581c7bd868326b8cea1058c720a upstream.
The interrupt is always allocated with devm_request_irq so it must always be freed with devm_free_irq.
--- drivers/char/tpm/tpm_tis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/char/tpm/tpm_tis.c +1 -1
@@ -401,7 +401,7 @@ static void disable_interrupts(struct tpiowrite32 (intmask, chip->vendor.iobase +TPM_INT_ENABLE (chip->vendor.locality)); -free_irq (chip->vendor.irq, chip); +devm_free_irq (chip->pdev, chip->vendor.irq, chip); chip->vendor.irq =0 ; }
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/tpm_tis-use-devm_free_irq-not-free_irq.patch