diff options
Diffstat (limited to 'debian/patches-rt/i2c-hix5hd2-Remove-IRQF_ONESHOT.patch')
-rw-r--r-- | debian/patches-rt/i2c-hix5hd2-Remove-IRQF_ONESHOT.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/debian/patches-rt/i2c-hix5hd2-Remove-IRQF_ONESHOT.patch b/debian/patches-rt/i2c-hix5hd2-Remove-IRQF_ONESHOT.patch deleted file mode 100644 index 1a38b622d..000000000 --- a/debian/patches-rt/i2c-hix5hd2-Remove-IRQF_ONESHOT.patch +++ /dev/null @@ -1,33 +0,0 @@ -From: Sebastian Andrzej Siewior <bigeasy@linutronix.de> -Date: Tue, 13 Aug 2019 12:30:37 +0200 -Subject: [PATCH] i2c: hix5hd2: Remove IRQF_ONESHOT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.2/older/patches-5.2.17-rt9.tar.xz - -The drivers sets IRQF_ONESHOT and passes only a primary handler. The IRQ -is masked while the primary is handler is invoked independently of -IRQF_ONESHOT. -With IRQF_ONESHOT the core code will not force-thread the interrupt and -this is probably not intended. I *assume* that the original author copied -the IRQ registration from another driver which passed a primary and -secondary handler and removed the secondary handler but keeping the -ONESHOT flag. - -Remove IRQF_ONESHOT. - -Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> ---- - drivers/i2c/busses/i2c-hix5hd2.c | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - ---- a/drivers/i2c/busses/i2c-hix5hd2.c -+++ b/drivers/i2c/busses/i2c-hix5hd2.c -@@ -445,8 +445,7 @@ static int hix5hd2_i2c_probe(struct plat - hix5hd2_i2c_init(priv); - - ret = devm_request_irq(&pdev->dev, irq, hix5hd2_i2c_irq, -- IRQF_NO_SUSPEND | IRQF_ONESHOT, -- dev_name(&pdev->dev), priv); -+ IRQF_NO_SUSPEND, dev_name(&pdev->dev), priv); - if (ret != 0) { - dev_err(&pdev->dev, "cannot request HS-I2C IRQ %d\n", irq); - goto err_clk; |