msm: ep-pcie: Fix possible sleeping while atomic
Below call path can cause sleep while atomic, fix it by saving perst_irq
in struct ep_pcie_dev and later use it instead of calling gpio_to_irq().
ep_pcie_handle_perst_irq
gpio_to_irq
gpiod_to_irq
gpiochip_to_irq
irq_create_fwspec_mapping
irq_find_matching_fwspec
mutex_lock
___might_sleep
Change-Id: I0b500bde382b3922321202c133b1bcd7b8d179f2
Signed-off-by:
Can Guo <cang@codeaurora.org>
Loading
Please register or sign in to comment