Commit c29a6289 authored by Sudeep Holla's avatar Sudeep Holla

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: default avatarSudeep Holla <sudeep.holla@arm.com>
parent 37bbffcb
...@@ -86,7 +86,7 @@ struct scmi_desc { ...@@ -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, ...@@ -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.. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment