diff options
author | Eric Dumazet <[email protected]> | 2022-03-03 15:19:33 -0800 |
---|---|---|
committer | Song Liu <[email protected]> | 2022-03-08 15:20:21 -0800 |
commit | 7d959f6e978cbbca90e26a192cc39480e977182f (patch) | |
tree | 45f5b97cc0b29f1fbc8c7930e34e4099454a98ee /drivers/fpga/fpga-mgr.c | |
parent | 5b401e4e9ac4c6a62b9f6562d0250c1a56477ff2 (diff) |
md: use msleep() in md_notify_reboot()
Calling mdelay(1000) from process context, even while a reboot
is in progress, does not make sense.
Using msleep() allows other threads to make progress.
Signed-off-by: Eric Dumazet <[email protected]>
Cc: [email protected]
Signed-off-by: Song Liu <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions