Re: [PATCH v2] mailbox: Add Altera mailbox driver

2015-02-01 Thread Ley Foon Tan
On Mon, Feb 2, 2015 at 3:04 PM, Jassi Brar wrote: > On Mon, Dec 22, 2014 at 3:14 PM, Ley Foon Tan wrote: > ... > >> diff --git a/drivers/mailbox/mailbox-altera.c >> b/drivers/mailbox/mailbox-altera.c >> new file mode 100644 >> index 000..8019795 >> --- /dev/null >> +++ b/drivers/mailbox/mail

Re: [PATCH v2] mailbox: Add Altera mailbox driver

2015-02-01 Thread Jassi Brar
On Mon, Dec 22, 2014 at 3:14 PM, Ley Foon Tan wrote: ... > diff --git a/drivers/mailbox/mailbox-altera.c > b/drivers/mailbox/mailbox-altera.c > new file mode 100644 > index 000..8019795 > --- /dev/null > +++ b/drivers/mailbox/mailbox-altera.c > @@ -0,0 +1,385 @@ > +/* > + * Copyright Altera

Re: [PATCH v2] mailbox: Add Altera mailbox driver

2015-01-06 Thread Ley Foon Tan
On Mon, Dec 22, 2014 at 5:44 PM, Ley Foon Tan wrote: > The Altera mailbox allows for interprocessor communication. It supports > only one channel and work as either sender or receiver. > > Signed-off-by: Ley Foon Tan > > --- > v2: > Resolved comment from Dinh and Suman. > - Alphabetize the header

[PATCH v2] mailbox: Add Altera mailbox driver

2014-12-22 Thread Ley Foon Tan
The Altera mailbox allows for interprocessor communication. It supports only one channel and work as either sender or receiver. Signed-off-by: Ley Foon Tan --- v2: Resolved comment from Dinh and Suman. - Alphabetize the headers. - Removed WARN_ON() checking - Use devm_kzalloc to allocate struct