commit | 22181c12a402ffcfb57ef44a13c38fe1bb04894b | [log] [tgz] |
---|---|---|
author | Kavya Nunna <knunna@codeaurora.org> | Tue May 19 10:25:12 2020 +0530 |
committer | Kavya Nunna <knunna@codeaurora.org> | Tue May 19 10:25:12 2020 +0530 |
tree | 93835b76dd9ab1f49af90383fdda87c585fc5fb6 | |
parent | 5c2bab70d27a478ac1145c6f92f73f69c100b621 [diff] |
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: Kavya Nunna <knunna@codeaurora.org>