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

Commit 200094ad authored by Matt Wagantall's avatar Matt Wagantall
Browse files

of/pci: fix sleeping from atomic context in pci_register_io_range()



pci_register_io_range() holds a spinlock while calling kzalloc() with
GFP_KERNEL. Avoid this by using GFP_ATOMIC.

Change-Id: I49a6a2b89ed797770413e0a52cea3506a1663d79
Signed-off-by: default avatarMatt Wagantall <mattw@codeaurora.org>
parent 66f4f85a
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