]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
remoteproc/omap: revise a minor error trace message
authorAnna, Suman <s-anna@ti.com>
Fri, 12 Aug 2016 23:42:23 +0000 (18:42 -0500)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sat, 13 Aug 2016 04:27:50 +0000 (21:27 -0700)
The omap_mbox_msg_send() is the legacy API for sending a mailbox
message. It has been replaced with the mbox_send_message() from
the mailbox framework. Revise the failure trace to print a generic
failure message instead of referencing the actual function name.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/omap_remoteproc.c

index ddc1a12d75e0edb05782a5039d5a085b809dd2d4..01e234cb9157db726553d2e2bcf484415d5d3532 100644 (file)
@@ -96,7 +96,8 @@ static void omap_rproc_kick(struct rproc *rproc, int vqid)
        /* send the index of the triggered virtqueue in the mailbox payload */
        ret = mbox_send_message(oproc->mbox, (void *)vqid);
        if (ret < 0)
-               dev_err(dev, "omap_mbox_msg_send failed: %d\n", ret);
+               dev_err(dev, "failed to send mailbox message, status = %d\n",
+                       ret);
 }
 
 /*