Re: [PATCH v3 5/6] usb: chipidea: allow multiple instances to use default ci_default_pdata

2015-06-05 Thread Peter Chen
On Fri, May 29, 2015 at 11:38:45AM -0500, Rob Herring wrote: > Currently, ci_default_pdata is common to all instances of the driver and > gets modified by the core driver code. This is bad if there are multiple > instances of the device with different settings such as the phy type. Fix > this by

Re: [PATCH v3 5/6] usb: chipidea: allow multiple instances to use default ci_default_pdata

2015-06-05 Thread Peter Chen
On Fri, May 29, 2015 at 11:38:45AM -0500, Rob Herring wrote: Currently, ci_default_pdata is common to all instances of the driver and gets modified by the core driver code. This is bad if there are multiple instances of the device with different settings such as the phy type. Fix this by

[PATCH v3 5/6] usb: chipidea: allow multiple instances to use default ci_default_pdata

2015-05-29 Thread Rob Herring
Currently, ci_default_pdata is common to all instances of the driver and gets modified by the core driver code. This is bad if there are multiple instances of the device with different settings such as the phy type. Fix this by making a copy of the default platform_data. Signed-off-by: Rob

[PATCH v3 5/6] usb: chipidea: allow multiple instances to use default ci_default_pdata

2015-05-29 Thread Rob Herring
Currently, ci_default_pdata is common to all instances of the driver and gets modified by the core driver code. This is bad if there are multiple instances of the device with different settings such as the phy type. Fix this by making a copy of the default platform_data. Signed-off-by: Rob