[PATCH v2] usb: ehci-platform: Fix using multiple controllers from OF

Alan Stern stern at rowland.harvard.edu
Tue Aug 4 07:29:56 PDT 2015


On Tue, 4 Aug 2015, Alban Bedel wrote:

> When using OF defined controllers the platform data struct is shared
> between all devices, so it can't be used for device specific settings.
> However it is currently used for the OF properties
> needs-reset-on-resume and has-transaction-translator.
> 
> To fix this issue move setting hcd->has_tt to the probe and
> move pdata->reset_on_resume to the private data.
> 
> Signed-off-by: Alban Bedel <albeu at free.fr>
> ---
> Changelog:
> v2: * Use true instead of 1 to set boolean type

Acked-by: Alan Stern <stern at rowland.harvard.edu>




More information about the linux-arm-kernel mailing list