Re: [PATCH v2 1/7] usb: typec: mux: Allow muxes to specify mode-switch

From: AngeloGioacchino Del Regno
Date: Tue Jun 14 2022 - 04:28:54 EST


Il 09/06/22 20:09, Prashant Malani ha scritto:
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 <pmalani@xxxxxxxxxxxx>
Reviewed-by: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>