summaryrefslogtreecommitdiff
path: root/drivers/sh
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2022-10-26 19:26:51 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-11-09 12:39:12 +0100
commit21acc656a06e912341d9db66c67b58cc7ed071e7 (patch)
treedeecaf49aa794f0fbc2f3f0fe65525bf08cf37b5 /drivers/sh
parent1fac1c4da8a225ffbfae294ae36e18a3a65cb87e (diff)
usb: musb: Add and use inline functions musb_{get,set}_state
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 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/sh')
0 files changed, 0 insertions, 0 deletions