usbpd:Pickup the missing USBPD change
authora17671 <a17671@motorola.com>
Mon, 4 Mar 2019 06:05:33 +0000 (14:05 +0800)
committerxiest1 <xiest1@lenovo.com>
Tue, 5 Nov 2019 09:31:52 +0000 (17:31 +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 462d6f1af3340f2b4bcbe01c5e31a4935d378e2a..e2a9ed38bba29f1f7698cb35e0bdef83b39bdbff 100644 (file)
@@ -2786,7 +2786,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",