Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1199915

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

From Alan Stern <stern@rowland.harvard.edu>
Newsgroups linux.kernel
Subject Re: [PATCH v2] usb: ehci-platform: Fix using multiple controllers from OF
Date 2015-08-04 16:40 +0200
Message-ID <pTLxM-4Tn-17@gated-at.bofh.it> (permalink)
References <pTGop-60Z-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@free.fr>
> ---
> Changelog:
> v2: * Use true instead of 1 to set boolean type

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2] usb: ehci-platform: Fix using multiple controllers from OF Alban Bedel <albeu@free.fr> - 2015-08-04 11:10 +0200
  Re: [PATCH v2] usb: ehci-platform: Fix using multiple controllers  from OF Alan Stern <stern@rowland.harvard.edu> - 2015-08-04 16:40 +0200

csiph-web