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

Commit dabac7ce authored by Stephen Boyd's avatar Stephen Boyd
Browse files

regmap: Allocate buffers with GFP_ATOMIC when fast_io == true



If a regmap is using fast_io, allocate the scratch buffer in
regmap_bulk_write() with GFP_ATOMIC instead of GFP_KERNEL.
Otherwise we may schedule while atomic.

Change-Id: I45cb1463558e87851dab7a07ba5118cbd6dd4952
Reported-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 3feae538
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