summaryrefslogtreecommitdiffstats
path: root/drivers/remoteproc
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2014-11-11 18:33:01 +0000
committerJassi Brar <jaswinder.singh@linaro.org>2014-11-27 12:50:59 +0530
commit97b0c7bd2e86c6e1e00c6b7178cf953d5f70c71a (patch)
tree32772563036f2a73a6603ba15ace848c710520b2 /drivers/remoteproc
parent52a49306d7d19ef127e6d6f4fd92f84d4864296f (diff)
downloadop-kernel-dev-97b0c7bd2e86c6e1e00c6b7178cf953d5f70c71a.zip
op-kernel-dev-97b0c7bd2e86c6e1e00c6b7178cf953d5f70c71a.tar.gz
mailbox: add tx_prepare client callback
If the mailbox controller expects the payload is in place before initiating the transmit, then it's impossible to reuse the list maintained by core mailbox code currently. Maintaining another list for sending the message in the controller seems totally unnecessary as core mailbox library already provides that feature. This patch introduces tx_prepare callback in mbox_client which can be used by the core mailbox library before initiating the transaction through mbox->ops->send_data. The client driver can implement this callback to ensure the payload is copied to the shared memory. Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'drivers/remoteproc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud