Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mailbox: fix various typos in comments

Fix trivial typos in mailbox driver comments.

s/Intergrated/Integrated/
s/extenstion/extension/
s/atleast/at least/
s/commnunication/communication/
s/assgined/assigned/
s/commnunication/communication/
s/recevied/received/
s/succeded/succeeded/
s/implmentation/implementation/
s/definiation/definition/
s/traget/target/
s/wont/won't/

Cc: trivial@kernel.org
Signed-off-by: Tom Saeger <tom.saeger@oracle.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>

authored by

Tom Saeger and committed by
Jassi Brar
9d2e8b93 3cfc7489

+16 -16
+1 -1
drivers/mailbox/Kconfig
··· 78 78 module parameter). 79 79 80 80 config ROCKCHIP_MBOX 81 - bool "Rockchip Soc Intergrated Mailbox Support" 81 + bool "Rockchip Soc Integrated Mailbox Support" 82 82 depends on ARCH_ROCKCHIP || COMPILE_TEST 83 83 help 84 84 This driver provides support for inter-processor communication
+2 -2
drivers/mailbox/bcm-flexrm-mailbox.c
··· 423 423 * 424 424 * In general use, number of non-HEADER descriptors can easily go 425 425 * beyond 31. To tackle this situation, we have packet (or request) 426 - * extenstion bits (STARTPKT and ENDPKT) in the HEADER descriptor. 426 + * extension bits (STARTPKT and ENDPKT) in the HEADER descriptor. 427 427 * 428 428 * To use packet extension, the first HEADER descriptor of request 429 429 * (or packet) will have STARTPKT=1 and ENDPKT=0. The intermediate ··· 1095 1095 /* 1096 1096 * Get current completion read and write offset 1097 1097 * 1098 - * Note: We should read completion write pointer atleast once 1098 + * Note: We should read completion write pointer at least once 1099 1099 * after we get a MSI interrupt because HW maintains internal 1100 1100 * MSI status which will allow next MSI interrupt only after 1101 1101 * completion write pointer is read.
+3 -3
drivers/mailbox/mailbox-xgene-slimpro.c
··· 51 51 /** 52 52 * X-Gene SlimPRO Mailbox controller data 53 53 * 54 - * X-Gene SlimPRO Mailbox controller has 8 commnunication channels. 55 - * Each channel has a separate IRQ number assgined to it. 54 + * X-Gene SlimPRO Mailbox controller has 8 communication channels. 55 + * Each channel has a separate IRQ number assigned to it. 56 56 * 57 - * @mb_ctrl: Representation of the commnunication channel controller 57 + * @mb_ctrl: Representation of the communication channel controller 58 58 * @mc: Array of SlimPRO mailbox channels of the controller 59 59 * @chans: Array of mailbox communication channels 60 60 *
+1 -1
drivers/mailbox/mailbox.h
··· 5 5 6 6 #define TXDONE_BY_IRQ BIT(0) /* controller has remote RTR irq */ 7 7 #define TXDONE_BY_POLL BIT(1) /* controller can read status of last TX */ 8 - #define TXDONE_BY_ACK BIT(2) /* S/W ACK recevied by Client ticks the TX */ 8 + #define TXDONE_BY_ACK BIT(2) /* S/W ACK received by Client ticks the TX */ 9 9 10 10 #endif /* __MAILBOX_H */
+1 -1
drivers/mailbox/pcc.c
··· 32 32 * * Client writes WRITE cmd in communication region cmd address. 33 33 * * Client issues mbox_send_message() which rings the PCC doorbell 34 34 * for its PCC channel. 35 - * * If command completes, then writes have succeded and it can release 35 + * * If command completes, then writes have succeeded and it can release 36 36 * the channel lock. 37 37 * 38 38 * There is a Nominal latency defined for each channel which indicates
+1 -1
drivers/mailbox/pl320-ipc.c
··· 73 73 return data[1]; 74 74 } 75 75 76 - /* blocking implmentation from the A9 side, not usuable in interrupts! */ 76 + /* blocking implementation from the A9 side, not usable in interrupts! */ 77 77 int pl320_ipc_transmit(u32 *data) 78 78 { 79 79 int ret;
+6 -6
drivers/mailbox/sprd-mailbox.c
··· 25 25 #define SPRD_MBOX_LOCK 0x20 26 26 #define SPRD_MBOX_FIFO_DEPTH 0x24 27 27 28 - /* Bit and mask definiation for inbox's SPRD_MBOX_FIFO_STS register */ 28 + /* Bit and mask definition for inbox's SPRD_MBOX_FIFO_STS register */ 29 29 #define SPRD_INBOX_FIFO_DELIVER_MASK GENMASK(23, 16) 30 30 #define SPRD_INBOX_FIFO_OVERLOW_MASK GENMASK(15, 8) 31 31 #define SPRD_INBOX_FIFO_DELIVER_SHIFT 16 32 32 #define SPRD_INBOX_FIFO_BUSY_MASK GENMASK(7, 0) 33 33 34 - /* Bit and mask definiation for SPRD_MBOX_IRQ_STS register */ 34 + /* Bit and mask definition for SPRD_MBOX_IRQ_STS register */ 35 35 #define SPRD_MBOX_IRQ_CLR BIT(0) 36 36 37 - /* Bit and mask definiation for outbox's SPRD_MBOX_FIFO_STS register */ 37 + /* Bit and mask definition for outbox's SPRD_MBOX_FIFO_STS register */ 38 38 #define SPRD_OUTBOX_FIFO_FULL BIT(2) 39 39 #define SPRD_OUTBOX_FIFO_WR_SHIFT 16 40 40 #define SPRD_OUTBOX_FIFO_RD_SHIFT 24 41 41 #define SPRD_OUTBOX_FIFO_POS_MASK GENMASK(7, 0) 42 42 43 - /* Bit and mask definiation for inbox's SPRD_MBOX_IRQ_MSK register */ 43 + /* Bit and mask definition for inbox's SPRD_MBOX_IRQ_MSK register */ 44 44 #define SPRD_INBOX_FIFO_BLOCK_IRQ BIT(0) 45 45 #define SPRD_INBOX_FIFO_OVERFLOW_IRQ BIT(1) 46 46 #define SPRD_INBOX_FIFO_DELIVER_IRQ BIT(2) 47 47 #define SPRD_INBOX_FIFO_IRQ_MASK GENMASK(2, 0) 48 48 49 - /* Bit and mask definiation for outbox's SPRD_MBOX_IRQ_MSK register */ 49 + /* Bit and mask definition for outbox's SPRD_MBOX_IRQ_MSK register */ 50 50 #define SPRD_OUTBOX_FIFO_NOT_EMPTY_IRQ BIT(0) 51 51 #define SPRD_OUTBOX_FIFO_IRQ_MASK GENMASK(4, 0) 52 52 ··· 150 150 chan = &priv->chan[id]; 151 151 152 152 /* 153 - * Check if the message was fetched by remote traget, if yes, 153 + * Check if the message was fetched by remote target, if yes, 154 154 * that means the transmission has been completed. 155 155 */ 156 156 busy = fifo_sts & SPRD_INBOX_FIFO_BUSY_MASK;
+1 -1
drivers/mailbox/ti-msgmgr.c
··· 239 239 240 240 /* 241 241 * I have no idea about the protocol being used to communicate with the 242 - * remote producer - 0 could be valid data, so I wont make a judgement 242 + * remote producer - 0 could be valid data, so I won't make a judgement 243 243 * of how many bytes I should be reading. Let the client figure this 244 244 * out.. I just read the full message and pass it on.. 245 245 */