diff options
author | Rui Miguel Silva <rui.silva@linaro.org> | 2021-07-27 11:05:15 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-27 16:25:31 +0200 |
commit | 41f673183862a183d4ea0522c045fabfbd1b28c8 (patch) | |
tree | 417a186bfdf5607ee74db59a71a6497fd95a334d /fs/ocfs2 | |
parent | 7de14c88272c05d86fce83a5cead36832ce3a424 (diff) | |
download | linux-stable-41f673183862a183d4ea0522c045fabfbd1b28c8.tar.gz linux-stable-41f673183862a183d4ea0522c045fabfbd1b28c8.tar.bz2 linux-stable-41f673183862a183d4ea0522c045fabfbd1b28c8.zip |
usb: isp1760: do not sleep in field register poll
When polling for a setup or clear of a register field we were sleeping
in atomic context but using a very tight sleep interval.
Since the use cases for this poll mechanism are only in setup and
stop paths, and in practice this poll is not used most of the times
but needs to be there to comply to hardware setup times, remove the
sleep time and make the poll loop tighter.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Link: https://lore.kernel.org/r/20210727100516.4190681-3-rui.silva@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ocfs2')
0 files changed, 0 insertions, 0 deletions