diff options
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2025-04-04 00:43:04 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-08-01 09:51:28 +0100 |
commit | f55728afb068370baa4946e38f16009116ab9e3c (patch) | |
tree | 761ddec2ed5da4ce173cc6c54726a7cf84892fcf /fs/btrfs/dev-replace.c | |
parent | 291a77604858a8b47cf6640a12b76e97f99e00ed (diff) |
usb: typec: tcpm: allow to use sink in accessory mode
commit 64843d0ba96d3eae297025562111d57585273366 upstream.
Since the function tcpm_acc_attach is not setting the data and role for
for the sink case we extend it to check for it first.
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20250404-ml-topic-tcpm-v1-1-b99f44badce8@pengutronix.de
Stable-dep-of: bec15191d523 ("usb: typec: tcpm: apply vbus before data bringup in tcpm_src_attach")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions