usbpd:Pickup the missing USBPD change
authora17671 <a17671@motorola.com>
Mon, 4 Mar 2019 06:05:33 +0000 (14:05 +0800)
committerlingsen1 <lingsen1@lenovo.com>
Sun, 7 Feb 2021 09:36:58 +0000 (17:36 +0800)
Samsung switched the irq trigger from LOW
to FALLING and FALLING TO LOW back again
Moto line failed to pickup this change for
Unknown reason

Change-Id: I1910a7dbe528514a3b189e50200e6f00e2dc58ae
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/1316604
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

drivers/ccic/s2mu106-usbpd.c

index b396d8094e8ea8d8db908ac1648b99d166c0593c..9f6c453dcd628bf6b89a57958eea67c7ef5317ab 100644 (file)
@@ -2821,7 +2821,7 @@ static int s2mu106_usbpd_irq_init(struct s2mu106_usbpd_data *_data)
        if (i2c->irq) {
                ret = request_threaded_irq(i2c->irq, s2mu106_irq_isr,
                                s2mu106_irq_thread,
-                               (IRQF_TRIGGER_FALLING | IRQF_ONESHOT | IRQF_NO_SUSPEND),
+                               (IRQF_TRIGGER_LOW | IRQF_ONESHOT | IRQF_NO_SUSPEND),
                                "s2mu106-usbpd", _data);
                if (ret < 0) {
                        dev_err(dev, "%s failed to request irq(%d)\n",