diff options
author | Prashant Malani <[email protected]> | 2022-06-15 17:20:17 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-06-21 16:37:56 +0200 |
commit | 144a96f7f96e412c3367f51cf2c57f52e3f1110d (patch) | |
tree | 771cb5eb16a9221e523d91e36976d62addc92128 /drivers/usb/cdns3/cdns3-imx.c | |
parent | d9be8d5c5b032e5383ff5c404ff4155e9c705429 (diff) |
usb: typec: mux: Allow muxes to specify mode-switch
Loosen the typec_mux_match() requirements so that searches where an
alt mode is not specified, but the target mux device lists the
"mode-switch" property, return a success.
This is helpful in Type C port drivers which would like to get a pointer
to the mux switch associated with a Type C port, but don't want to
specify a particular alt mode.
Signed-off-by: Prashant Malani <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Reviewed-by: NĂcolas F. R. A. Prado <[email protected]>
Tested-by: NĂcolas F. R. A. Prado <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions