Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756438AbbHDO36 (ORCPT ); Tue, 4 Aug 2015 10:29:58 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:55050 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751651AbbHDO35 (ORCPT ); Tue, 4 Aug 2015 10:29:57 -0400 Date: Tue, 4 Aug 2015 10:29:56 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Alban Bedel cc: linux-usb@vger.kernel.org, Tony Prisk , Greg Kroah-Hartman , , Subject: Re: [PATCH v2] usb: ehci-platform: Fix using multiple controllers from OF In-Reply-To: <1438678757-26582-1-git-send-email-albeu@free.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 822 Lines: 22 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 > --- > Changelog: > v2: * Use true instead of 1 to set boolean type Acked-by: Alan Stern -- 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/