RE: [PATCH v10 2/7] usb: mux: add generic code for dual role port mux

Jun Li
2016-06-07T03:19:38Z

Hi Roger

>
> For Mux devices implementing dual-role, the mux device driver _must_ use
> OTG/dual-role core API so that a common ABI is presented to user space for
> OTG/dual-role.

That's the only point we have concern, do dual role switch through
OTG/dual-role core, not do it by itself.

>
> I haven't yet looked at the mux framework but if we take care of the above
> point then we are not introducing any redundancy.
>

Roger, actually this is my worry on OTG core: those dual role switch
users just tends to do it simply by itself(straightforward and easy),
not through the OTG core(some complicated in first look),
this is just an example for us to convince people to select a better
way:)

Li Jun