lkml.org 
[lkml]   [2012]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH] MFD: Clearing events requires event registers to be writable for da9052-core
    From
    Date
    Signed-off-by: David Dajun Chen <dchen@diasemi.com>
    Signed-off-by: Ashish Jangam <ashish.jangam@kpitcummins.com>
    ---
    drivers/mfd/da9052-core.c | 4 ++++
    1 files changed, 4 insertions(+), 0 deletions(-)
    diff --git a/drivers/mfd/da9052-core.c b/drivers/mfd/da9052-core.c
    index a7c115c..1876aa9 100644
    --- a/drivers/mfd/da9052-core.c
    +++ b/drivers/mfd/da9052-core.c
    @@ -172,6 +172,10 @@ static bool da9052_reg_writeable(struct device *dev, unsigned int reg)
    {
    switch (reg) {
    case DA9052_PAGE0_CON_REG:
    + case DA9052_EVENT_A_REG:
    + case DA9052_EVENT_B_REG:
    + case DA9052_EVENT_C_REG:
    + case DA9052_EVENT_D_REG:
    case DA9052_IRQ_MASK_A_REG:
    case DA9052_IRQ_MASK_B_REG:
    case DA9052_IRQ_MASK_C_REG:



    \
     
     \ /
      Last update: 2012-01-03 08:11    [W:0.019 / U:122.064 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site