31 May, 2019

1 commit

  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms and conditions of the gnu general public license
    version 2 as published by the free software foundation this program
    is distributed in the hope it will be useful but without any
    warranty without even the implied warranty of merchantability or
    fitness for a particular purpose see the gnu general public license
    for more details you should have received a copy of the gnu general
    public license along with this program if not see http www gnu org
    licenses

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

    has been chosen to replace the boilerplate/reference in 228 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Steve Winslow
    Reviewed-by: Richard Fontana
    Reviewed-by: Alexios Zavras
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190528171438.107155473@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

09 May, 2016

1 commit


11 Aug, 2015

1 commit

  • set_irq_flags is ARM specific with custom flags which have genirq
    equivalents. Convert drivers to use the genirq interfaces directly, so we
    can kill off set_irq_flags. The translation of flags is as follows:

    IRQF_VALID -> !IRQ_NOREQUEST
    IRQF_PROBE -> !IRQ_NOPROBE
    IRQF_NOAUTOEN -> IRQ_NOAUTOEN

    For IRQs managed by an irqdomain, the irqdomain core code handles clearing
    and setting IRQ_NOREQUEST already, so there is no need to do this in
    .map() functions and we can simply remove the set_irq_flags calls. Some
    users also modify IRQ_NOPROBE and this has been maintained although it
    is not clear that is really needed. There appears to be a great deal of
    blind copy and paste of this code.

    Signed-off-by: Rob Herring
    Acked-by: Linus Walleij
    Signed-off-by: Lee Jones

    Rob Herring
     

19 Mar, 2014

1 commit


26 Nov, 2012

1 commit

  • I got below build warning while compiling this driver.
    It's obviously RC5T583_MAX_INTERRUPT_MASK_REGS is 9 but irq_en_add
    array only has 8 elements.

    CC drivers/mfd/rc5t583-irq.o
    drivers/mfd/rc5t583-irq.c: In function 'rc5t583_irq_sync_unlock':
    drivers/mfd/rc5t583-irq.c:227: warning: array subscript is above array bounds
    drivers/mfd/rc5t583-irq.c: In function 'rc5t583_irq_init':
    drivers/mfd/rc5t583-irq.c:349: warning: array subscript is above array bounds

    Since the number of interrupt enable registers is 8, this patch adds
    define for RC5T583_MAX_INTERRUPT_EN_REGS to fix this bug.

    Signed-off-by: Axel Lin
    Acked-by: Laxman Dewangan
    Signed-off-by: Samuel Ortiz

    Axel Lin
     

24 Sep, 2012

1 commit

  • Two variables named master_int and sleepseq_val, were just
    declared without initialization. Pointers to these variables
    were passed to mfd read function. After that these variables
    were used for some of the logical operations.

    Though logically there is nothing wrong, compiler is complaining
    that the variables may be used uninitialized.

    Hence fixing these warning messages by initializing them.

    Signed-off-by: Venu Byravarasu
    Signed-off-by: Samuel Ortiz

    Venu Byravarasu
     

17 Mar, 2012

1 commit

  • Ricoh power management IC RC5T583 contains is multi
    functional device having multiple sub devices inside this.
    This device has multiple dcdc/ldo regulators, gpios, interrupt
    controllers, on-key, RTCs, ADCs.
    This device have 4 DCDCs, 8 LDOs, 8 GPIOs, 6 ADCs, 3 RTCs etc.

    Signed-off-by: Laxman Dewangan
    Signed-off-by: Samuel Ortiz

    Laxman Dewangan