firmware: arm_scmi: Fix few trivial typos in comments
While adding new comments found couple of typos that are better fixed. s/informfation/information/ s/statues/status/ Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
This commit is contained in:
Родитель
37bbffcb19
Коммит
c29a628976
|
@ -86,7 +86,7 @@ struct scmi_desc {
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* struct scmi_chan_info - Structure representing a SCMI channel informfation
|
* struct scmi_chan_info - Structure representing a SCMI channel information
|
||||||
*
|
*
|
||||||
* @cl: Mailbox Client
|
* @cl: Mailbox Client
|
||||||
* @chan: Transmit/Receive mailbox channel
|
* @chan: Transmit/Receive mailbox channel
|
||||||
|
@ -190,7 +190,7 @@ static void scmi_fetch_response(struct scmi_xfer *xfer,
|
||||||
struct scmi_shared_mem __iomem *mem)
|
struct scmi_shared_mem __iomem *mem)
|
||||||
{
|
{
|
||||||
xfer->hdr.status = ioread32(mem->msg_payload);
|
xfer->hdr.status = ioread32(mem->msg_payload);
|
||||||
/* Skip the length of header and statues in payload area i.e 8 bytes*/
|
/* Skip the length of header and status in payload area i.e 8 bytes */
|
||||||
xfer->rx.len = min_t(size_t, xfer->rx.len, ioread32(&mem->length) - 8);
|
xfer->rx.len = min_t(size_t, xfer->rx.len, ioread32(&mem->length) - 8);
|
||||||
|
|
||||||
/* Take a copy to the rx buffer.. */
|
/* Take a copy to the rx buffer.. */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче