Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-20 Thread Vivek Gautam
Hi Lukasz, On 3/14/2018 5:57 PM, Lukas Wunner wrote: On Wed, Mar 14, 2018 at 12:14:15PM +, Robin Murphy wrote: On Wed, Mar 14, 2018 at 8:12 PM, Rafael J. Wysocki wrote: On Tuesday, March 13, 2018 12:23:34 PM CET Tomasz Figa wrote: On Tue, Mar 13, 2018 at 7:34 PM,

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-20 Thread Vivek Gautam
Hi Lukasz, On 3/14/2018 5:57 PM, Lukas Wunner wrote: On Wed, Mar 14, 2018 at 12:14:15PM +, Robin Murphy wrote: On Wed, Mar 14, 2018 at 8:12 PM, Rafael J. Wysocki wrote: On Tuesday, March 13, 2018 12:23:34 PM CET Tomasz Figa wrote: On Tue, Mar 13, 2018 at 7:34 PM, Vivek Gautam wrote:

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-14 Thread Lukas Wunner
On Wed, Mar 14, 2018 at 12:14:15PM +, Robin Murphy wrote: > >>On Wed, Mar 14, 2018 at 8:12 PM, Rafael J. Wysocki > >>wrote: > >>>On Tuesday, March 13, 2018 12:23:34 PM CET Tomasz Figa wrote: > On Tue, Mar 13, 2018 at 7:34 PM, Vivek Gautam >

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-14 Thread Lukas Wunner
On Wed, Mar 14, 2018 at 12:14:15PM +, Robin Murphy wrote: > >>On Wed, Mar 14, 2018 at 8:12 PM, Rafael J. Wysocki > >>wrote: > >>>On Tuesday, March 13, 2018 12:23:34 PM CET Tomasz Figa wrote: > On Tue, Mar 13, 2018 at 7:34 PM, Vivek Gautam > wrote: > >On Tue, Mar 13, 2018 at

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-14 Thread Lukas Wunner
On Wed, Mar 14, 2018 at 12:12:05PM +0100, Rafael J. Wysocki wrote: > On Tuesday, March 13, 2018 12:23:34 PM CET Tomasz Figa wrote: > > On Tue, Mar 13, 2018 at 7:34 PM, Vivek Gautam > > wrote: > > > On Tue, Mar 13, 2018 at 3:45 PM, Tomasz Figa

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-14 Thread Lukas Wunner
On Wed, Mar 14, 2018 at 12:12:05PM +0100, Rafael J. Wysocki wrote: > On Tuesday, March 13, 2018 12:23:34 PM CET Tomasz Figa wrote: > > On Tue, Mar 13, 2018 at 7:34 PM, Vivek Gautam > > wrote: > > > On Tue, Mar 13, 2018 at 3:45 PM, Tomasz Figa wrote: > > >> On Tue, Mar 13, 2018 at 5:55 PM, Vivek

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-14 Thread Robin Murphy
Hi Rafael, On 14/03/18 11:57, Rafael J. Wysocki wrote: On Wednesday, March 14, 2018 12:50:54 PM CET Tomasz Figa wrote: On Wed, Mar 14, 2018 at 8:12 PM, Rafael J. Wysocki wrote: On Tuesday, March 13, 2018 12:23:34 PM CET Tomasz Figa wrote: On Tue, Mar 13, 2018 at 7:34 PM,

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-14 Thread Robin Murphy
Hi Rafael, On 14/03/18 11:57, Rafael J. Wysocki wrote: On Wednesday, March 14, 2018 12:50:54 PM CET Tomasz Figa wrote: On Wed, Mar 14, 2018 at 8:12 PM, Rafael J. Wysocki wrote: On Tuesday, March 13, 2018 12:23:34 PM CET Tomasz Figa wrote: On Tue, Mar 13, 2018 at 7:34 PM, Vivek Gautam

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-14 Thread Tomasz Figa
On Wed, Mar 14, 2018 at 8:12 PM, Rafael J. Wysocki wrote: > On Tuesday, March 13, 2018 12:23:34 PM CET Tomasz Figa wrote: >> On Tue, Mar 13, 2018 at 7:34 PM, Vivek Gautam >> wrote: >> > Hi Tomasz, >> > >> > On Tue, Mar 13, 2018 at 3:45 PM, Tomasz

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-14 Thread Tomasz Figa
On Wed, Mar 14, 2018 at 8:12 PM, Rafael J. Wysocki wrote: > On Tuesday, March 13, 2018 12:23:34 PM CET Tomasz Figa wrote: >> On Tue, Mar 13, 2018 at 7:34 PM, Vivek Gautam >> wrote: >> > Hi Tomasz, >> > >> > On Tue, Mar 13, 2018 at 3:45 PM, Tomasz Figa wrote: >> >> Hi Vivek, >> >> >> >> Thanks

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-14 Thread Rafael J. Wysocki
On Wednesday, March 14, 2018 12:50:54 PM CET Tomasz Figa wrote: > On Wed, Mar 14, 2018 at 8:12 PM, Rafael J. Wysocki wrote: > > On Tuesday, March 13, 2018 12:23:34 PM CET Tomasz Figa wrote: > >> On Tue, Mar 13, 2018 at 7:34 PM, Vivek Gautam > >>

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-14 Thread Rafael J. Wysocki
On Wednesday, March 14, 2018 12:50:54 PM CET Tomasz Figa wrote: > On Wed, Mar 14, 2018 at 8:12 PM, Rafael J. Wysocki wrote: > > On Tuesday, March 13, 2018 12:23:34 PM CET Tomasz Figa wrote: > >> On Tue, Mar 13, 2018 at 7:34 PM, Vivek Gautam > >> wrote: > >> > Hi Tomasz, > >> > > >> > On Tue, Mar

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-14 Thread Rafael J. Wysocki
On Tuesday, March 13, 2018 12:23:34 PM CET Tomasz Figa wrote: > On Tue, Mar 13, 2018 at 7:34 PM, Vivek Gautam > wrote: > > Hi Tomasz, > > > > On Tue, Mar 13, 2018 at 3:45 PM, Tomasz Figa wrote: > >> Hi Vivek, > >> > >> Thanks for the patch. > >> >

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-14 Thread Rafael J. Wysocki
On Tuesday, March 13, 2018 12:23:34 PM CET Tomasz Figa wrote: > On Tue, Mar 13, 2018 at 7:34 PM, Vivek Gautam > wrote: > > Hi Tomasz, > > > > On Tue, Mar 13, 2018 at 3:45 PM, Tomasz Figa wrote: > >> Hi Vivek, > >> > >> Thanks for the patch. > >> > >> On Tue, Mar 13, 2018 at 5:55 PM, Vivek Gautam

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-13 Thread Vivek Gautam
Hi Robin, On Tue, Mar 13, 2018 at 6:19 PM, Robin Murphy wrote: > On 13/03/18 09:55, Vivek Gautam wrote: >> >> On Tue, Mar 13, 2018 at 3:10 PM, Rafael J. Wysocki >> wrote: >>> >>> On Tuesday, March 13, 2018 9:55:30 AM CET Vivek Gautam wrote:

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-13 Thread Vivek Gautam
Hi Robin, On Tue, Mar 13, 2018 at 6:19 PM, Robin Murphy wrote: > On 13/03/18 09:55, Vivek Gautam wrote: >> >> On Tue, Mar 13, 2018 at 3:10 PM, Rafael J. Wysocki >> wrote: >>> >>> On Tuesday, March 13, 2018 9:55:30 AM CET Vivek Gautam wrote: The lists managing the device-links can be

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-13 Thread Robin Murphy
On 13/03/18 09:55, Vivek Gautam wrote: On Tue, Mar 13, 2018 at 3:10 PM, Rafael J. Wysocki wrote: On Tuesday, March 13, 2018 9:55:30 AM CET Vivek Gautam wrote: The lists managing the device-links can be traversed to find the link between two devices. The device_link_add()

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-13 Thread Robin Murphy
On 13/03/18 09:55, Vivek Gautam wrote: On Tue, Mar 13, 2018 at 3:10 PM, Rafael J. Wysocki wrote: On Tuesday, March 13, 2018 9:55:30 AM CET Vivek Gautam wrote: The lists managing the device-links can be traversed to find the link between two devices. The device_link_add() APIs does traverse

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-13 Thread Tomasz Figa
On Tue, Mar 13, 2018 at 7:34 PM, Vivek Gautam wrote: > Hi Tomasz, > > On Tue, Mar 13, 2018 at 3:45 PM, Tomasz Figa wrote: >> Hi Vivek, >> >> Thanks for the patch. >> >> On Tue, Mar 13, 2018 at 5:55 PM, Vivek Gautam >>

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-13 Thread Tomasz Figa
On Tue, Mar 13, 2018 at 7:34 PM, Vivek Gautam wrote: > Hi Tomasz, > > On Tue, Mar 13, 2018 at 3:45 PM, Tomasz Figa wrote: >> Hi Vivek, >> >> Thanks for the patch. >> >> On Tue, Mar 13, 2018 at 5:55 PM, Vivek Gautam >> wrote: >>> The lists managing the device-links can be traversed to >>> find

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-13 Thread Vivek Gautam
Hi Tomasz, On Tue, Mar 13, 2018 at 3:45 PM, Tomasz Figa wrote: > Hi Vivek, > > Thanks for the patch. > > On Tue, Mar 13, 2018 at 5:55 PM, Vivek Gautam > wrote: >> The lists managing the device-links can be traversed to >> find the link between

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-13 Thread Vivek Gautam
Hi Tomasz, On Tue, Mar 13, 2018 at 3:45 PM, Tomasz Figa wrote: > Hi Vivek, > > Thanks for the patch. > > On Tue, Mar 13, 2018 at 5:55 PM, Vivek Gautam > wrote: >> The lists managing the device-links can be traversed to >> find the link between two devices. The device_link_add() APIs >> does

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-13 Thread Tomasz Figa
Hi Vivek, Thanks for the patch. On Tue, Mar 13, 2018 at 5:55 PM, Vivek Gautam wrote: > The lists managing the device-links can be traversed to > find the link between two devices. The device_link_add() APIs > does traverse these lists to check if there's already a

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-13 Thread Tomasz Figa
Hi Vivek, Thanks for the patch. On Tue, Mar 13, 2018 at 5:55 PM, Vivek Gautam wrote: > The lists managing the device-links can be traversed to > find the link between two devices. The device_link_add() APIs > does traverse these lists to check if there's already a link > setup between the two

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-13 Thread Vivek Gautam
On Tue, Mar 13, 2018 at 2:25 PM, Vivek Gautam wrote: > The lists managing the device-links can be traversed to > find the link between two devices. The device_link_add() APIs > does traverse these lists to check if there's already a link > setup between the two

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-13 Thread Vivek Gautam
On Tue, Mar 13, 2018 at 2:25 PM, Vivek Gautam wrote: > The lists managing the device-links can be traversed to > find the link between two devices. The device_link_add() APIs > does traverse these lists to check if there's already a link > setup between the two devices. > So, add a new APIs,

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-13 Thread Vivek Gautam
On Tue, Mar 13, 2018 at 3:10 PM, Rafael J. Wysocki wrote: > On Tuesday, March 13, 2018 9:55:30 AM CET Vivek Gautam wrote: >> The lists managing the device-links can be traversed to >> find the link between two devices. The device_link_add() APIs >> does traverse these lists to

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-13 Thread Vivek Gautam
On Tue, Mar 13, 2018 at 3:10 PM, Rafael J. Wysocki wrote: > On Tuesday, March 13, 2018 9:55:30 AM CET Vivek Gautam wrote: >> The lists managing the device-links can be traversed to >> find the link between two devices. The device_link_add() APIs >> does traverse these lists to check if there's

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-13 Thread Rafael J. Wysocki
On Tuesday, March 13, 2018 9:55:30 AM CET Vivek Gautam wrote: > The lists managing the device-links can be traversed to > find the link between two devices. The device_link_add() APIs > does traverse these lists to check if there's already a link > setup between the two devices. > So, add a new

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-13 Thread Rafael J. Wysocki
On Tuesday, March 13, 2018 9:55:30 AM CET Vivek Gautam wrote: > The lists managing the device-links can be traversed to > find the link between two devices. The device_link_add() APIs > does traverse these lists to check if there's already a link > setup between the two devices. > So, add a new

[PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-13 Thread Vivek Gautam
The lists managing the device-links can be traversed to find the link between two devices. The device_link_add() APIs does traverse these lists to check if there's already a link setup between the two devices. So, add a new APIs, device_link_find(), to find an existing device link between two

[PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-13 Thread Vivek Gautam
The lists managing the device-links can be traversed to find the link between two devices. The device_link_add() APIs does traverse these lists to check if there's already a link setup between the two devices. So, add a new APIs, device_link_find(), to find an existing device link between two