06 Jan, 2012

1 commit

  • wait_for_completion_interruptible_timeout() may return negative value.
    In this case, checking if (t > 0) will return true if t is unsigned.

    Signed-off-by: Axel Lin
    Acked-by: Lars-Peter Clausen
    Signed-off-by: Anton Vorontsov

    Axel Lin
     

04 Jan, 2012

1 commit

  • This patch converts the drivers in drivers/power/* to use the
    module_platform_driver() macro which makes the code smaller and a bit
    simpler.

    Cc: Mike Rapoport
    Cc: Lars-Peter Clausen
    Cc: Nithish Mahalingam
    Cc: MyungJoo Ham
    Cc: Haojian Zhuang
    Cc: Balaji Rao
    Cc: Mark Brown
    Signed-off-by: Axel Lin
    Acked-by: Clifton Barnes
    Signed-off-by: Anton Vorontsov

    Axel Lin
     

23 Mar, 2011

2 commits


22 Dec, 2010

1 commit

  • During test-build (with disabled 'depends on') I found that
    jz4740-battery driver lacks linux/io.h, which makes build break
    like this (on x86):

    CC [M] drivers/power/isp1704_charger.o
    jz4740-battery.c: In function 'jz_battery_read_voltage':
    jz4740-battery.c:84: error: implicit declaration of function 'readw’
    jz4740-battery.c: In function 'jz_battery_probe':
    jz4740-battery.c:284: error: implicit declaration of function 'ioremap_nocache’
    jz4740-battery.c:285: warning: assignment makes pointer from integer without a cast
    jz4740-battery.c:372: error: implicit declaration of function 'iounmap'
    make[2]: *** [drivers/power/jz4740-battery.o] Error 1

    This patch fixes the issues, and thus makes it easier to build-test
    the driver for me.

    Signed-off-by: Anton Vorontsov

    Anton Vorontsov
     

18 Nov, 2010

2 commits


28 Sep, 2010

1 commit


05 Aug, 2010

1 commit

  • Add support for the battery voltage measurement part of the JZ4740 ADC unit.

    Signed-off-by: Lars-Peter Clausen
    Acked-by: Anton Vorontsov
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/1416/
    Signed-off-by: Ralf Baechle

    Lars-Peter Clausen