lkml.org 
[lkml]   [2011]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] mfd: tps65910: fix initialisation of interrupts
    On 15/08/2011 11:42, Johan Hovold wrote:
    > Fix regression introduced by commit
    > a2974732ca7614aaf0baf9d6dd3ad893d50ce1c5 (TPS65911: Add new irq
    > definitions) which caused irq_num to be incorrectly set for tps65910.
    >
    > Cc: stable@kernel.org
    > Signed-off-by: Johan Hovold <jhovold@gmail.com>
    > ---
    > drivers/mfd/tps65910-irq.c | 2 ++
    > 1 files changed, 2 insertions(+), 0 deletions(-)
    >
    > diff --git a/drivers/mfd/tps65910-irq.c b/drivers/mfd/tps65910-irq.c
    > index 2bfad5c..a56be93 100644
    > --- a/drivers/mfd/tps65910-irq.c
    > +++ b/drivers/mfd/tps65910-irq.c
    > @@ -178,8 +178,10 @@ int tps65910_irq_init(struct tps65910 *tps65910, int irq,
    > switch (tps65910_chip_id(tps65910)) {
    > case TPS65910:
    > tps65910->irq_num = TPS65910_NUM_IRQ;
    > + break;
    > case TPS65911:
    > tps65910->irq_num = TPS65911_NUM_IRQ;
    > + break;
    > }
    >
    > /* Register with genirq */
    Whole series

    Acked-by: Graeme Gregory <gg@slimlogic.co.uk>



    \
     
     \ /
      Last update: 2011-08-15 13:17    [W:0.022 / U:1.568 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site