Message ID | 20230906072717.32485-1-uday.m.bhat@intel.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 8929f62f1d7a45d109cd747cdeb60f3eae1c0717 |
Headers | show |
Series | [v3] usb: typec: intel_pmc_mux: enable sysfs usb role access | expand |
diff --git a/drivers/usb/typec/mux/intel_pmc_mux.c b/drivers/usb/typec/mux/intel_pmc_mux.c index 60ed1f809130..12a4f49e870e 100644 --- a/drivers/usb/typec/mux/intel_pmc_mux.c +++ b/drivers/usb/typec/mux/intel_pmc_mux.c @@ -599,6 +599,7 @@ static int pmc_usb_register_port(struct pmc_usb *pmc, int index, desc.driver_data = port; desc.name = fwnode_get_name(fwnode); desc.set = pmc_usb_set_role; + desc.allow_userspace_control = true; port->usb_sw = usb_role_switch_register(pmc->dev, &desc); if (IS_ERR(port->usb_sw)) {