Re: [PATCH v3 8/9] usb: chipidea: move usb_otg into struct ci_hdrc

2014-09-02 Thread Peter Chen
On Tue, Sep 02, 2014 at 11:08:32AM +0200, Antoine Tenart wrote: > Hi, > > On Mon, Sep 01, 2014 at 09:13:43AM +0800, Peter Chen wrote: > > On Fri, Aug 29, 2014 at 04:25:35PM +0200, Antoine Tenart wrote: > > > On Tue, Aug 26, 2014 at 06:22:40PM +0800, Peter Chen wrote: > > > > On Fri, Aug 22, 2014

Re: [PATCH v3 8/9] usb: chipidea: move usb_otg into struct ci_hdrc

2014-09-02 Thread Antoine Tenart
Hi, On Mon, Sep 01, 2014 at 09:13:43AM +0800, Peter Chen wrote: > On Fri, Aug 29, 2014 at 04:25:35PM +0200, Antoine Tenart wrote: > > On Tue, Aug 26, 2014 at 06:22:40PM +0800, Peter Chen wrote: > > > On Fri, Aug 22, 2014 at 05:50:19PM +0200, Antoine Ténart wrote: > > > > > > If the common

Re: [PATCH v3 8/9] usb: chipidea: move usb_otg into struct ci_hdrc

2014-09-02 Thread Antoine Tenart
Hi, On Mon, Sep 01, 2014 at 09:13:43AM +0800, Peter Chen wrote: On Fri, Aug 29, 2014 at 04:25:35PM +0200, Antoine Tenart wrote: On Tue, Aug 26, 2014 at 06:22:40PM +0800, Peter Chen wrote: On Fri, Aug 22, 2014 at 05:50:19PM +0200, Antoine Ténart wrote: If the common usb_otg and

Re: [PATCH v3 8/9] usb: chipidea: move usb_otg into struct ci_hdrc

2014-09-02 Thread Peter Chen
On Tue, Sep 02, 2014 at 11:08:32AM +0200, Antoine Tenart wrote: Hi, On Mon, Sep 01, 2014 at 09:13:43AM +0800, Peter Chen wrote: On Fri, Aug 29, 2014 at 04:25:35PM +0200, Antoine Tenart wrote: On Tue, Aug 26, 2014 at 06:22:40PM +0800, Peter Chen wrote: On Fri, Aug 22, 2014 at

Re: [PATCH v3 8/9] usb: chipidea: move usb_otg into struct ci_hdrc

2014-08-31 Thread Peter Chen
On Fri, Aug 29, 2014 at 04:25:35PM +0200, Antoine Tenart wrote: > Hi, > > On Tue, Aug 26, 2014 at 06:22:40PM +0800, Peter Chen wrote: > > On Fri, Aug 22, 2014 at 05:50:19PM +0200, Antoine Ténart wrote: > > > > If the common usb_otg and usb_phy struct still has another's pointer, you > > may not

Re: [PATCH v3 8/9] usb: chipidea: move usb_otg into struct ci_hdrc

2014-08-31 Thread Peter Chen
On Fri, Aug 29, 2014 at 04:25:35PM +0200, Antoine Tenart wrote: Hi, On Tue, Aug 26, 2014 at 06:22:40PM +0800, Peter Chen wrote: On Fri, Aug 22, 2014 at 05:50:19PM +0200, Antoine Ténart wrote: If the common usb_otg and usb_phy struct still has another's pointer, you may not need to add

Re: [PATCH v3 8/9] usb: chipidea: move usb_otg into struct ci_hdrc

2014-08-29 Thread Antoine Tenart
Hi, On Tue, Aug 26, 2014 at 06:22:40PM +0800, Peter Chen wrote: > On Fri, Aug 22, 2014 at 05:50:19PM +0200, Antoine Ténart wrote: > > If the common usb_otg and usb_phy struct still has another's pointer, you > may not need to add this patch. Except if we want to access the OTG member when not

Re: [PATCH v3 8/9] usb: chipidea: move usb_otg into struct ci_hdrc

2014-08-29 Thread Antoine Tenart
Hi, On Tue, Aug 26, 2014 at 06:22:40PM +0800, Peter Chen wrote: On Fri, Aug 22, 2014 at 05:50:19PM +0200, Antoine Ténart wrote: If the common usb_otg and usb_phy struct still has another's pointer, you may not need to add this patch. Except if we want to access the OTG member when not using

Re: [PATCH v3 8/9] usb: chipidea: move usb_otg into struct ci_hdrc

2014-08-26 Thread Peter Chen
On Fri, Aug 22, 2014 at 05:50:19PM +0200, Antoine Ténart wrote: > Move the usb_otg member from struct usb_phy to struct ci_hdrc. Rework > its initialization taking in account this modification. > If the common usb_otg and usb_phy struct still has another's pointer, you may not need to add this

Re: [PATCH v3 8/9] usb: chipidea: move usb_otg into struct ci_hdrc

2014-08-26 Thread Peter Chen
On Fri, Aug 22, 2014 at 05:50:19PM +0200, Antoine Ténart wrote: Move the usb_otg member from struct usb_phy to struct ci_hdrc. Rework its initialization taking in account this modification. If the common usb_otg and usb_phy struct still has another's pointer, you may not need to add this

[PATCH v3 8/9] usb: chipidea: move usb_otg into struct ci_hdrc

2014-08-22 Thread Antoine Ténart
Move the usb_otg member from struct usb_phy to struct ci_hdrc. Rework its initialization taking in account this modification. Signed-off-by: Antoine Ténart --- drivers/usb/chipidea/ci.h | 1 + drivers/usb/chipidea/host.c| 8 +++- drivers/usb/chipidea/otg_fsm.c | 15

[PATCH v3 8/9] usb: chipidea: move usb_otg into struct ci_hdrc

2014-08-22 Thread Antoine Ténart
Move the usb_otg member from struct usb_phy to struct ci_hdrc. Rework its initialization taking in account this modification. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- drivers/usb/chipidea/ci.h | 1 + drivers/usb/chipidea/host.c| 8 +++-