Loading
power: bcl_peripheral: Move BCL interrupts to level based
BCL driver was using edge triggered interrupt, which allows
the Linux interrupt framework to flag pending interrupts
after BCL interrupts are disabled. This pending interrupt
will trigger a false trip as soon as the interrupt is enabled.
To fix this, move BCL Ibat and Vbat interrupts from edge
triggered to level triggered. This will eliminate any pending
interrupts that will cause unexpected behavior in BCL
driver.
Change-Id: I9270dc15911ab94a0cef1b808699e1b5e7016d4c
Signed-off-by:
Shiju Mathew <shijum@codeaurora.org>