29 Mar, 2011

3 commits


14 Jan, 2011

1 commit


22 Mar, 2010

2 commits

  • The function locomo_m62332_senddata sends a three byte i2c message to
    a M62332 DAC. This entire function is guarded with a spin_lock_irqsave
    at the start of the function and a spin_unlock_irqrestore at the end.

    As each byte is transferred, the i2c ACK from the DAC is checked.
    Currently, if the ACK is missing the function simply returns without
    the unlock. It also leaves the i2c bus in an invalid state since the
    last byte transferred did not have a "stop" condition and leave the
    bus idle.

    Fix this by adding an exit path using goto.

    Signed-off-by: H Hartley Sweeten
    Signed-off-by: Eric Miao

    H Hartley Sweeten
     
  • The locomo spi registers are all defined in locomo.h as offsets
    from the first spi register LOCOMO_SPI (0x60), which is itself
    an offset from the locomo base address. To correctly access
    these registers LOCOMO_SPI must always be included in the
    address calculation.

    There are two places in locomo.c where this is not done. The
    first one, in locomo_suspend, actually results in a write to
    LOCOMO_ST instead of LOCOMO_SPICT. The second is in __locomo_probe
    and results in a write to LOCOMO_MCSX2 instead of LOCOMO_SPIIE.

    Fix these by including LOCOMO_SPI in the calculation.

    Signed-off-by: H Hartley Sweeten
    Signed-off-by: Eric Miao

    H Hartley Sweeten
     

02 Mar, 2010

3 commits


21 Sep, 2009

1 commit


02 Dec, 2008

1 commit


10 Oct, 2008

1 commit


09 Oct, 2008

1 commit


06 Sep, 2008

1 commit


07 Aug, 2008

2 commits


27 Jul, 2008

1 commit

  • IRQT_* and __IRQT_* were obsoleted long ago by patch [3692/1].
    Remove them completely. Sed script for the reference:

    s/__IRQT_RISEDGE/IRQ_TYPE_EDGE_RISING/g
    s/__IRQT_FALEDGE/IRQ_TYPE_EDGE_FALLING/g
    s/__IRQT_LOWLVL/IRQ_TYPE_LEVEL_LOW/g
    s/__IRQT_HIGHLVL/IRQ_TYPE_LEVEL_HIGH/g
    s/IRQT_RISING/IRQ_TYPE_EDGE_RISING/g
    s/IRQT_FALLING/IRQ_TYPE_EDGE_FALLING/g
    s/IRQT_BOTHEDGE/IRQ_TYPE_EDGE_BOTH/g
    s/IRQT_LOW/IRQ_TYPE_LEVEL_LOW/g
    s/IRQT_HIGH/IRQ_TYPE_LEVEL_HIGH/g
    s/IRQT_PROBE/IRQ_TYPE_PROBE/g
    s/IRQT_NOEDGE/IRQ_TYPE_NONE/g

    Signed-off-by: Dmitry Baryshkov
    Signed-off-by: Russell King

    Dmitry Baryshkov
     

22 Jul, 2008

1 commit


18 May, 2008

1 commit


12 Jul, 2007

1 commit

  • The saved_state member of 'struct dev_pm_info' that's going to be removed
    is used in arch/arm/common/locomo.c, arch/arm/common/sa1111.c and
    arch/arm/mach-sa1100/neponset.c. Change the code in there to use local
    variables for saving the state of devices during suspend.

    Signed-off-by: Rafael J. Wysocki
    Cc: Greg KH
    Cc: David Brownell
    Acked-by: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Rafael J. Wysocki
     

30 Nov, 2006

1 commit


07 Oct, 2006

1 commit


28 Sep, 2006

2 commits


02 Aug, 2006

1 commit

  • Patch from David Brownell

    ARM genirq cleanups/updates:

    - Start switching platforms to newer APIs
    * use "irq_chip" name, not "irqchip"
    * providing irq_chip.name

    - Show irq_chip.name in /proc/interrupts, like on x86.

    This update a bit more than half of the ARM code. The irq_chip.name
    values were chosen to match docs (if I have them) or be otherwise
    obvious ("FPGA", "CPLD", or matching the code).

    Signed-off-by: David Brownell
    Signed-off-by: Russell King

    David Brownell
     

12 Jul, 2006

1 commit


01 Jul, 2006

1 commit


27 Jun, 2006

1 commit

  • Add backlight intensity control to the LOCOMO lcd/backlight driver using the
    backlight class and add basic power management support.

    This is a reimplementation and improvement of patches by John Lenz and Pavel
    Machek

    Signed-off-by: Richard Purdie
    Signed-off-by: Antonino Daplas
    Cc: Pavel Machek
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Richard Purdie
     

22 Mar, 2006

2 commits


21 Mar, 2006

1 commit


16 Mar, 2006

1 commit


14 Jan, 2006

1 commit


13 Nov, 2005

1 commit


10 Nov, 2005

1 commit


30 Oct, 2005

1 commit


29 Oct, 2005

1 commit

  • In PM v1, all devices were called at SUSPEND_DISABLE level. Then
    all devices were called at SUSPEND_SAVE_STATE level, and finally
    SUSPEND_POWER_DOWN level. However, with PM v2, to maintain
    compatibility for platform devices, I arranged for the PM v2
    suspend/resume callbacks to call the old PM v1 suspend/resume
    callbacks three times with each level in order so that existing
    drivers continued to work.

    Since this is obsolete infrastructure which is no longer necessary,
    we can remove it. Here's an (untested) patch to do exactly that.

    Signed-off-by: Russell King
    Signed-off-by: Greg Kroah-Hartman

    Russell King
     

29 Sep, 2005

1 commit


18 Sep, 2005

1 commit


08 Sep, 2005

1 commit