Re: [PATCH v8 08/11] usb: roles: get usb-role-switch from parent

2019-07-30 Thread Chunfeng Yun
Hi Heikki, On Mon, 2019-07-29 at 17:25 +0300, Heikki Krogerus wrote: > On Wed, Jul 24, 2019 at 04:50:42PM +0800, Chunfeng Yun wrote: > > when the USB host controller is the parent of the connector, > > usually type-B, sometimes don't need the graph, so we should > > check whether it's parent regis

Re: [PATCH v8 08/11] usb: roles: get usb-role-switch from parent

2019-07-29 Thread Heikki Krogerus
On Wed, Jul 24, 2019 at 04:50:42PM +0800, Chunfeng Yun wrote: > when the USB host controller is the parent of the connector, > usually type-B, sometimes don't need the graph, so we should > check whether it's parent registers usb-role-switch or not > firstly, and get it if exists. > > Signed-off-b

[PATCH v8 08/11] usb: roles: get usb-role-switch from parent

2019-07-24 Thread Chunfeng Yun
when the USB host controller is the parent of the connector, usually type-B, sometimes don't need the graph, so we should check whether it's parent registers usb-role-switch or not firstly, and get it if exists. Signed-off-by: Heikki Krogerus Signed-off-by: Chunfeng Yun --- v8: no changes v7: