usbpd:Fix the usbpd interrupt storm issue
authora17671 <a17671@motorola.com>
Thu, 29 Nov 2018 02:16:57 +0000 (10:16 +0800)
committerxiest1 <xiest1@lenovo.com>
Tue, 5 Nov 2019 09:30:23 +0000 (17:30 +0800)
commitc9605a3b9d08b0a7c11fcb754ae942b5b17df35d
tree8ae5c65a3f28948eca62d90e611eaf81dd1d73b4
parent6722b2b0ad9940bc7722ac611399fab96269cc21
usbpd:Fix the usbpd interrupt storm issue

Samsung usbpd interrupt is triggered by level
Instead of edge, the irq service handle shall
Disable the interrupt first and later enable
It after it got processed.

Change-Id: I36502860acded3ce81546fa0554a169ee81805b8
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/1275108
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