Re: [PATCHv2 2/4] mailbox: Introduce a new common API

2013-05-09 Thread Suman Anna
Jassi, >>> >>> Perhaps we should change the following >>> >>>void ipc_link_txdone(struct ipc_link *link, enum xfer_result r) >>> to >>>void ipc_link_txdone(struct ipc_link *link, enum xfer_result r, void >>> *data) >>> >>> So that the API could pass that onto clients ? >> >> That's if the

Re: [PATCHv2 2/4] mailbox: Introduce a new common API

2013-05-09 Thread Jassi Brar
On 9 May 2013 23:35, Suman Anna wrote: >> >> Perhaps we should change the following >> >>void ipc_link_txdone(struct ipc_link *link, enum xfer_result r) >> to >>void ipc_link_txdone(struct ipc_link *link, enum xfer_result r, void >> *data) >> >> So that the API could pass that onto clien

Re: [PATCHv2 2/4] mailbox: Introduce a new common API

2013-05-09 Thread Suman Anna
Jassi, On 05/09/2013 12:48 PM, Jassi Brar wrote: > On Thu, May 9, 2013 at 10:10 PM, Suman Anna wrote: >> On 05/09/2013 11:41 AM, Jassi Brar wrote: >>> On 9 May 2013 22:01, Suman Anna wrote: Hi Jassi, On 05/06/2013 02:24 AM, Jassi Brar wrote: > +++ b/include/linux/mailbox_clien

Re: [PATCHv2 2/4] mailbox: Introduce a new common API

2013-05-09 Thread Jassi Brar
On Thu, May 9, 2013 at 10:10 PM, Suman Anna wrote: > On 05/09/2013 11:41 AM, Jassi Brar wrote: >> On 9 May 2013 22:01, Suman Anna wrote: >>> Hi Jassi, >>> >>> On 05/06/2013 02:24 AM, Jassi Brar wrote: +++ b/include/linux/mailbox_client.h @@ -0,0 +1,85 @@ +/* + * This program i

Re: [PATCHv2 2/4] mailbox: Introduce a new common API

2013-05-09 Thread Suman Anna
On 05/09/2013 11:41 AM, Jassi Brar wrote: > On 9 May 2013 22:01, Suman Anna wrote: >> Hi Jassi, >> >> On 05/06/2013 02:24 AM, Jassi Brar wrote: >>> +++ b/include/linux/mailbox_client.h >>> @@ -0,0 +1,85 @@ >>> +/* >>> + * This program is free software; you can redistribute it and/or modify >>> + *

Re: [PATCHv2 2/4] mailbox: Introduce a new common API

2013-05-09 Thread Jassi Brar
On 9 May 2013 22:01, Suman Anna wrote: > Hi Jassi, > > On 05/06/2013 02:24 AM, Jassi Brar wrote: >> +++ b/include/linux/mailbox_client.h >> @@ -0,0 +1,85 @@ >> +/* >> + * This program is free software; you can redistribute it and/or modify >> + * it under the terms of the GNU General Public Licens

Re: [PATCHv2 2/4] mailbox: Introduce a new common API

2013-05-09 Thread Suman Anna
Hi Jassi, On 05/06/2013 02:24 AM, Jassi Brar wrote: > +++ b/include/linux/mailbox_client.h > @@ -0,0 +1,85 @@ > +/* > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License version 2 as > + * published by the Free Softwar

[PATCHv2 2/4] mailbox: Introduce a new common API

2013-05-06 Thread Jassi Brar
Introduce common framework for client/protocol drivers and controller drivers of Inter-Processor-Communication (IPC). Client driver developers should have a look at include/linux/mailbox_client.h to understand the part of the API exposed to client drivers. Similarly controller driver developers s