lkml.org 
[lkml]   [2010]   [Dec]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 15/15]drivers:spi:dw_spi.c Typo change diable to disable.
    Date
    The below patch fixes a typo "diable" to "disable". Please let me know if this
    is correct or not.

    Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>

    ---
    drivers/spi/dw_spi.c | 6 +++---
    1 files changed, 3 insertions(+), 3 deletions(-)

    diff --git a/drivers/spi/dw_spi.c b/drivers/spi/dw_spi.c
    index 7c3cf21..a3a065f 100644
    --- a/drivers/spi/dw_spi.c
    +++ b/drivers/spi/dw_spi.c
    @@ -910,12 +910,12 @@ int __devinit dw_spi_add_host(struct dw_spi *dws)
    ret = init_queue(dws);
    if (ret) {
    dev_err(&master->dev, "problem initializing queue\n");
    - goto err_diable_hw;
    + goto err_disable_hw;
    }
    ret = start_queue(dws);
    if (ret) {
    dev_err(&master->dev, "problem starting queue\n");
    - goto err_diable_hw;
    + goto err_disable_hw;
    }

    spi_master_set_devdata(master, dws);
    @@ -930,7 +930,7 @@ int __devinit dw_spi_add_host(struct dw_spi *dws)

    err_queue_alloc:
    destroy_queue(dws);
    -err_diable_hw:
    +err_disable_hw:
    spi_enable_chip(dws, 0);
    free_irq(dws->irq, dws);
    err_free_master:
    --
    1.6.5.2.180.gc5b3e


    \
     
     \ /
      Last update: 2010-12-31 00:11    [W:3.894 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site