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

Skip to content
Commit 22181c12 authored by Kavya Nunna's avatar Kavya Nunna
Browse files

leds: qti-flash: Replace usleep_range with mdelay



There is a path in the client driver which enables flash
in atomic context. Replace usleep_range() with mdelay() to
avoid a schedule_in_atomic_context failure.

Change-Id: I9ac8e235eb9a12e92ec9ac1fddd6b1452a01ba39
Signed-off-by: default avatarKavya Nunna <knunna@codeaurora.org>
parent 5c2bab70
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