distro kernel. https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.1.y 2025-07-24T06:51:54Z usb: musb: Add and use inline functions musb_{get,set}_state 2025-07-24T06:51:54Z Paul Cercueil paul@crapouillou.net 2022-10-26T18:26:51Z urn:sha1:a2c245823691b52008b32953099fdf86f6c9a7cf commit 21acc656a06e912341d9db66c67b58cc7ed071e7 upstream. Instead of manipulating musb->xceiv->otg->state directly, use the newly introduced musb_get_state() and musb_set_state() inline functions. Later, these inline functions will be modified to get rid of the musb->xceiv dependency, which prevents the musb code from using the generic PHY subsystem. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Link: https://lore.kernel.org/r/20221026182657.146630-2-paul@crapouillou.net Stable-dep-of: 67a59f82196c ("usb: musb: fix gadget state on disconnect") Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>