mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
remoteproc/omap: remove the mbox_callback limitation
Now that remoteproc supports any number of virtio devices, the previous sanity check in omap_rproc_mbox_callback doesn't make sense anymore. Remove that so we can start supporting multiple vdevs. Signed-off-by: Ohad Ben-Cohen <[email protected]> Cc: Brian Swetland <[email protected]> Cc: Iliyan Malchev <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Grant Likely <[email protected]> Cc: Rusty Russell <[email protected]> Cc: Mark Grosen <[email protected]> Cc: John Williams <[email protected]> Cc: Michal Simek <[email protected]> Cc: Loic PALLARDY <[email protected]> Cc: Ludovic BARRE <[email protected]> Cc: Omar Ramirez Luna <[email protected]> Cc: Guzman Lugo Fernando <[email protected]> Cc: Anna Suman <[email protected]> Cc: Clark Rob <[email protected]> Cc: Stephen Boyd <[email protected]> Cc: Saravana Kannan <[email protected]> Cc: David Brown <[email protected]> Cc: Kieran Bingham <[email protected]> Cc: Tony Lindgren <[email protected]>
This commit is contained in:
parent
7a18694162
commit
55f34080d9
1 changed files with 1 additions and 10 deletions
|
|
@ -80,16 +80,7 @@ static int omap_rproc_mbox_callback(struct notifier_block *this,
|
|||
dev_info(dev, "received echo reply from %s\n", name);
|
||||
break;
|
||||
default:
|
||||
/* ignore vq indices which are too large to be valid */
|
||||
if (msg >= 2) {
|
||||
dev_warn(dev, "invalid mbox msg: 0x%x\n", msg);
|
||||
break;
|
||||
}
|
||||
|
||||
/*
|
||||
* At this point, 'msg' contains the index of the vring
|
||||
* which was just triggered.
|
||||
*/
|
||||
/* msg contains the index of the triggered vring */
|
||||
if (rproc_vq_interrupt(oproc->rproc, msg) == IRQ_NONE)
|
||||
dev_dbg(dev, "no message was found in vqid %d\n", msg);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue