Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b81d6c59 authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa
Browse files

gpio-usbdetect: Register interrupt handler after getting gpio value



Currently driver is first getting irq number and then registering
interrupt handler with kernel. After that driver is getting gpio value
from dts. If interrupt gets fired right after interrupt handler
registration, it could lead to XPU violation as gpio value is zero, whose
TLMM register might not have access from kernel.

Change-Id: Iff864c1263f45ab6ed58238532e5003716732a99
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
parent 28c1f5d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment