Re: [PATCH 5/9] mailbox: change protection mechanisms

2012-12-21 Thread Loic PALLARDY
On 12/21/2012 11:28 AM, Bedia, Vaibhav wrote: > On Tue, Dec 18, 2012 at 18:40:08, Loic Pallardy wrote: >> TX: replace spin by mutex >> RX: replace spin_lock_irq by spin_lock_irqsave >> > > Can you please add a short note on why this is being done? > Ok I'll add more information in commit message

RE: [PATCH 5/9] mailbox: change protection mechanisms

2012-12-21 Thread Bedia, Vaibhav
On Tue, Dec 18, 2012 at 18:40:08, Loic Pallardy wrote: > TX: replace spin by mutex > RX: replace spin_lock_irq by spin_lock_irqsave > Can you please add a short note on why this is being done? Regards, Vaibhav -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body

[PATCH 5/9] mailbox: change protection mechanisms

2012-12-18 Thread Loic Pallardy
TX: replace spin by mutex RX: replace spin_lock_irq by spin_lock_irqsave Signed-off-by: Loic Pallardy --- drivers/mailbox/mailbox.c | 10 ++ drivers/mailbox/mailbox.h | 1 + 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/mailbox/mailbox.c b/drivers/mailbox/mailbo