[PATCH v2 0/2] Avoid system abort by moving pm domain's detach after devres_release_all

2017-08-15 Thread Shawn Lin
CONFIG_DEBUG_SHIRQ will fire extra irq action to call the registered irq callback after driver is removed or failed to probe. In general, the irq callback provided by driver should read its internal registers to see who fires the irq. So this leads a situation that we access the registers with a

[PATCH v2 0/2] Avoid system abort by moving pm domain's detach after devres_release_all

2017-08-15 Thread Shawn Lin
CONFIG_DEBUG_SHIRQ will fire extra irq action to call the registered irq callback after driver is removed or failed to probe. In general, the irq callback provided by driver should read its internal registers to see who fires the irq. So this leads a situation that we access the registers with a