lkml.org 
[lkml]   [2009]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 2/4] mfd: mc13783: When probing, unlock the mc13783 before subsystems initialisation.
    From
    Date
    With this, mc13783 subsystems drivers can configure the mc13783 chip
    reading and writing registers.

    Signed-off-by: Alberto Panizzo <maramaopercheseimorto@gmail.com>
    ---
    drivers/mfd/mc13783-core.c | 4 ++--
    1 files changed, 2 insertions(+), 2 deletions(-)

    diff --git a/drivers/mfd/mc13783-core.c b/drivers/mfd/mc13783-core.c
    index aa1f79a..35dcc2a 100644
    --- a/drivers/mfd/mc13783-core.c
    +++ b/drivers/mfd/mc13783-core.c
    @@ -631,6 +631,8 @@ err_revision:
    }
    /* This should go away (END) */

    + mc13783_unlock(mc13783);
    +
    if (pdata->flags & MC13783_USE_ADC)
    mc13783_add_subdevice(mc13783, "mc13783-adc");

    @@ -653,8 +655,6 @@ err_revision:
    if (pdata->flags & MC13783_USE_TOUCHSCREEN)
    mc13783_add_subdevice(mc13783, "mc13783-ts");

    - mc13783_unlock(mc13783);
    -
    return 0;
    }

    --
    1.6.3.3




    \
     
     \ /
      Last update: 2009-12-13 02:51    [W:0.032 / U:29.608 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site