-
由 Ambresh K 提交于
If gpio pins from bank[2-5] are marked as wakeup enable and if the wake is through gpio IO pad wakeup, then that wakeup gpio interrupt is lost. In the current implementation, GPIO driver stores the context of DATAIN of all the gpio in the bank. During GPIO resuming, it checks DATAIN with wakeup enabled pins of gpio bank. If there is status change, then manually toggle GPIO_LEVELDETECT to generate pseudo interrupt. Reported-by: NPhilippe Mazet <p-mazet@ti.com> Tested-by: NPhilippe Mazet <p-mazet@ti.com> Signed-off-by: NAmbresh K <ambresh@ti.com> Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
55b220ca