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

Skip to content
Commit 0d64b70c authored by Raghavendra Kakarla's avatar Raghavendra Kakarla Committed by Gerrit - the friendly Code Review server
Browse files

drivers: pinctrl: Check whether irq mapping exists before creating it



Calling to create mapping without checking if mapping already exists
leads to loop to all available domains to get the corresponding
domain and then checks for available mapping. Client driver calling
gpio_to_irq from atomic context may get sleeping function called from
invalid context.

Add a check to see if irq mapping exist before creating it.

Change-Id: If922b06448138107d5c797f35d2835b20a490ada
Signed-off-by: default avatarRaghavendra Kakarla <rkakarla@codeaurora.org>
parent 77880ea2
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