]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
usb: musb: da8xx: Implement BABBLE recovery
authorBastien Curutchet <bastien.curutchet@bootlin.com>
Tue, 28 May 2024 10:20:26 +0000 (12:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Jun 2024 13:44:11 +0000 (15:44 +0200)
commit4cb9f2c5a2df12355d0cbfdfaecc9221779d2eff
treec2b5ab23ba499363df08fe7c80fb03b29c58668a
parent608662dd6081f6d3149ecd250b1054d3eb2b7d2d
usb: musb: da8xx: Implement BABBLE recovery

There is no specific behaviour implemented to recover from a babble
error. When a BABBLE error happens, recovery fails as connected sticks
are no longer detected by the USB controller.

Implement the recover callback of the MUSB operation to reset the USB
controller when a BABBLE happens.

Signed-off-by: Bastien Curutchet <bastien.curutchet@bootlin.com>
Link: https://lore.kernel.org/r/20240528102026.40136-5-bastien.curutchet@bootlin.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/da8xx.c