On Thu, Mar 08, 2018 at 01:41:23AM +0000, Jun Li wrote: > > If you are asking my opinion, the data role must be handled as separate > > capability of the port, i.e. you probable want to have separate properties for > > the power role and data role, even if we did not support that yet in the class > > code. Don't use "port-type" name, just call them "power-role" and > > "data-role" from now on. > > > > OK, I will introduce power-role and data-role, meanwhile, I think the class code > should be changed accordingly(looks like your attached patch is doing that). True. I'll send the patch out now. Thanks, -- heikki -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html