OMAP: mailbox: add notification support for multiple readers
In the current mailbox driver, the mailbox internal pointer for callback can be directly manipulated by the Users, so a second User can easily corrupt the first user's callback pointer. The initial effort to correct this issue can be referred here: https://patchwork.kernel.org/patch/107520/ Along with fixing the above stated issue, this patch adds the flexibility option to register notifications from multiple readers to the events received on a mailbox instance. The discussion regarding this can be referred here. http://www.mail-archive.com/linux-omap@vger.kernel.org/msg30671.htmlSigned-off-by: NHari Kanigeri <h-kanigeri2@ti.com> Signed-off-by: NFernando Guzman Lugo <x0095840@ti.com> Acked-by: NHiroshi Doyu <hiroshi.doyu@nokia.com>
Showing
想要评论请 注册 或 登录