]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/rpmsg.git/commit
remoteproc/omap: Check for undefined mailbox messages
authorSuman Anna <s-anna@ti.com>
Thu, 22 Feb 2018 21:07:43 +0000 (15:07 -0600)
committerSuman Anna <s-anna@ti.com>
Wed, 27 Feb 2019 20:35:18 +0000 (14:35 -0600)
commit60661a1272f56415d4c0d984c27f321ec83f7e2d
tree187aa544101ffccbeb4317d81a69a907f32d0d13
parent7dee5cf62574d1b67be5e5e62d6b5b1002445ac5
remoteproc/omap: Check for undefined mailbox messages

Add some checks in the mailbox callback function to limit
any processing in the mailbox callback function to only
certain currently valid messages, and drop all the remaining
messages. A debug message is added to print any such invalid
messages when the appropriate trace control is enabled.

Signed-off-by: Subramaniam Chanderashekarapuram <subramaniam.ca@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
drivers/remoteproc/omap_remoteproc.c
drivers/remoteproc/omap_remoteproc.h