firmware: arm_scmi: Add receive channel support for notifications
authorSudeep Holla <sudeep.holla@arm.com>
Mon, 8 Jul 2019 08:40:46 +0000 (09:40 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 12 Aug 2019 11:22:59 +0000 (12:22 +0100)
commit46cc7c286ce33f729055f28c114d84e6340c08dd
tree45b7fcf71170d985a8f7ba372eb5fde9583bafcc
parent3748daf7fb6b5459c7a62d4976b9698b82ee9b48
firmware: arm_scmi: Add receive channel support for notifications

With scmi_mbox_chan_setup enabled to identify and setup both Tx and Rx,
let's consolidate setting up of both the channels under the function
scmi_mbox_txrx_setup.

Since some platforms may opt not to support notifications or delayed
response, they may not need support for Rx. Hence Rx is optional and
failure of setting one up is not considered fatal.

Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/driver.c