android_kernel_sony_msm8994/drivers/bif
David Collins fcea656ff7 bif: qpnp-bsi: request BSI interrupts with level high triggering
Request the BSI RX, TX and ERR interrupts using level high
triggering instead of rising edge triggering.  If an interrupt
is edge triggered, then its interrupt handler will be called upon
enabling the interrupt if it physically triggered while it was
disabled in software.  This leads to unexpected interrupt
handler calls in the qpnp-bsi driver when the following sequence
occurs: BIF transaction using interrupts (IRQs enabled), BIF
transaction using polling (IRQs disabled), BIF transaction to
enter interrupt mode bus state (IRQs enabled).

Switching the interrupts to use level triggering fixes the issue
because any interrupt physically triggered during a polling
transaction with the BSI interrupts disabled will be ignored by
the irq framework.

Change-Id: I57a6fb6f75af14970b5a186009ec506e240c151d
Signed-off-by: David Collins <collinsd@codeaurora.org>
2013-12-03 09:54:04 -08:00
..
bif-core.c bif: bif-core: add BIF NVM object writing support 2013-10-10 13:29:46 -07:00
Kconfig bif: Add PMIC qpnp-bsi BIF controller driver 2013-09-04 16:05:27 -07:00
Makefile bif: Add PMIC qpnp-bsi BIF controller driver 2013-09-04 16:05:27 -07:00
qpnp-bsi.c bif: qpnp-bsi: request BSI interrupts with level high triggering 2013-12-03 09:54:04 -08:00