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

2015-05-20 Thread Peter Chen
On Tue, May 19, 2015 at 09:10:04PM -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 ma

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

2015-05-19 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 Herring