lkml.org 
[lkml]   [2022]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 21/30] spi: sun4i: fix typos in comments
    Date
    Various spelling mistakes in comments.
    Detected with the help of Coccinelle.

    Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

    ---
    drivers/spi/spi-sun4i.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/spi/spi-sun4i.c b/drivers/spi/spi-sun4i.c
    index 1fdfc6e6691d..6000d0761206 100644
    --- a/drivers/spi/spi-sun4i.c
    +++ b/drivers/spi/spi-sun4i.c
    @@ -280,7 +280,7 @@ static int sun4i_spi_transfer_one(struct spi_master *master,
    * SPI_CLK = MOD_CLK / (2 ^ (cdr + 1))
    * Or we can use CDR2, which is calculated with the formula:
    * SPI_CLK = MOD_CLK / (2 * (cdr + 1))
    - * Wether we use the former or the latter is set through the
    + * Whether we use the former or the latter is set through the
    * DRS bit.
    *
    * First try CDR2, and if we can't reach the expected
    \
     
     \ /
      Last update: 2022-03-14 13:34    [W:4.862 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site