]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
usb: ehci-brcm: fix sleep during atomic
authorJustin Chen <justin.chen@broadcom.com>
Wed, 18 Mar 2026 18:57:07 +0000 (11:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Mar 2026 15:04:13 +0000 (17:04 +0200)
commit679b771ea05ad0f8eeae83e14a91b8f4f39510c4
tree67e11667ef451d25c7e5d13edb067c6be98bb9e2
parentf50200dd44125e445a6164e88c217472fa79cdbc
usb: ehci-brcm: fix sleep during atomic

echi_brcm_wait_for_sof() gets called after disabling interrupts
in ehci_brcm_hub_control(). Use the atomic version of poll_timeout
to fix the warning.

Fixes: 9df231511bd6 ("usb: ehci: Add new EHCI driver for Broadcom STB SoC's")
Cc: stable <stable@kernel.org>
Signed-off-by: Justin Chen <justin.chen@broadcom.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://patch.msgid.link/20260318185707.2588431-1-justin.chen@broadcom.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-brcm.c