From 895644bd102e48b18af78544db639f772a9c52a0 Mon Sep 17 00:00:00 2001 From: a17671 Date: Mon, 4 Mar 2019 14:05:33 +0800 Subject: [PATCH] usbpd:Pickup the missing USBPD change 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 Reviewed-on: https://gerrit.mot.com/1316604 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key --- drivers/ccic/s2mu106-usbpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ccic/s2mu106-usbpd.c b/drivers/ccic/s2mu106-usbpd.c index b396d8094e8e..9f6c453dcd62 100644 --- a/drivers/ccic/s2mu106-usbpd.c +++ b/drivers/ccic/s2mu106-usbpd.c @@ -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", -- 2.20.1