Re: Bug: VHCI + USB 3.0

2019-04-13 Thread Bollinger, Seth
> On Apr 12, 2019, at 1:01 PM, Alan Stern > mailto:st...@rowland.harvard.edu>> wrote: > > Any more test results? I need to know that you're confident the patch > works okay The patch didn’t apply for me. I figured a copy paste problem, so I made the changes by hand. Your changes fix my proble

[PATCH 2/3] usb: typec: fusb302: Implement start_srp_connection_detect

2019-04-13 Thread Hans de Goede
When in single role port mode, we most start single-role toggling to get an interrupt when a device / cable gets plugged into the port. This commit implements the tcpc_dev start_srp_connection_detect callback for this. Signed-off-by: Hans de Goede --- drivers/usb/typec/tcpm/fusb302.c | 30 +

[PATCH 1/3] usb: typec: tcpm: Add start_srp_connection_detect callback

2019-04-13 Thread Hans de Goede
Some tcpc device-drivers need to explicitly be told to watch for connection events, otherwise the tcpc will not generate any TCPM_CC_EVENTs and devices being plugged into the Type-C port will not be noticed. For dual-role ports tcpm_start_drp_toggling() is used to tell the tcpc to watch for connec

[PATCH 3/3] usb: typec: fusb302: Revert "Resolve fixed power role contract setup"

2019-04-13 Thread Hans de Goede
Some tcpc device-drivers need to explicitly be told to watch for connection events, otherwise the tcpc will not generate any TCPM_CC_EVENTs and devices being plugged into the Type-C port will not be noticed. For dual-role ports tcpm_start_drp_toggling() is used to tell the tcpc to watch for connec