Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ccc1b693 authored by Can Guo's avatar Can Guo
Browse files

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: default avatarCan Guo <cang@codeaurora.org>
parent 46bc219c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment