From: a17671 Date: Mon, 4 Mar 2019 06:05:33 +0000 (+0800) Subject: usbpd:Pickup the missing USBPD change X-Git-Tag: MMI-RSBS31.Q1-48-36-26~229 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=895644bd102e48b18af78544db639f772a9c52a0;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 --- 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",