Skip to content

Commit fe34fbf

Browse files
Wolfram SangWolfram Sang
Wolfram Sang
authored and
Wolfram Sang
committed
i2c: rcar: fix some trivial typos in comments
Nothing big, but they get annoying after a while ;) Signed-off-by: Wolfram Sang <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
1 parent 19cfcaf commit fe34fbf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/i2c/busses/i2c-rcar.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
#define MIE (1 << 3) /* master if enable */
6363
#define TSBE (1 << 2)
6464
#define FSB (1 << 1) /* force stop bit */
65-
#define ESG (1 << 0) /* en startbit gen */
65+
#define ESG (1 << 0) /* enable start bit gen */
6666

6767
/* ICSSR (also for ICSIER) */
6868
#define GCAR (1 << 6) /* general call received */
@@ -331,7 +331,7 @@ static void rcar_i2c_prepare_msg(struct rcar_i2c_priv *priv)
331331

332332
rcar_i2c_write(priv, ICMAR, (priv->msg->addr << 1) | read);
333333
/*
334-
* We don't have a testcase but the HW engineers say that the write order
334+
* We don't have a test case but the HW engineers say that the write order
335335
* of ICMSR and ICMCR depends on whether we issue START or REP_START. Since
336336
* it didn't cause a drawback for me, let's rather be safe than sorry.
337337
*/
@@ -489,7 +489,7 @@ static void rcar_i2c_irq_send(struct rcar_i2c_priv *priv, u32 msr)
489489

490490
/*
491491
* Try to use DMA to transmit the rest of the data if
492-
* address transfer pashe just finished.
492+
* address transfer phase just finished.
493493
*/
494494
if (msr & MAT)
495495
rcar_i2c_dma(priv);

0 commit comments

Comments
 (0)