diff options
| author | Justin Chen <justin.chen@broadcom.com> | 2026-01-20 12:07:54 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-01-23 17:16:31 +0100 |
| commit | f1195ca3b4bbd001d3f1264dce91f83dec7777f5 (patch) | |
| tree | cb8825f830c3a2c678d53e88490de657190ec432 /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | db7fd1955e6825756d0241343add1d172098bb18 (diff) | |
usb: bdc: fix sleep during atomic
bdc_run() can be ran during atomic context leading to a sleep during
atomic warning. Fix this by replacing read_poll_timeout() with
read_poll_timeout_atomic().
Fixes: 75ae051efc9b ("usb: gadget: bdc: use readl_poll_timeout() to simplify code")
Signed-off-by: Justin Chen <justin.chen@broadcom.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://patch.msgid.link/20260120200754.2488765-1-justin.chen@broadcom.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
