23 Mar, 2011

1 commit

  • Convert the SuperH clocks framework and shared interrupt handling
    code to using struct syscore_ops instead of a sysdev classes and
    sysdevs for power managment.

    This reduces the code size significantly and simplifies it. The
    optimizations causing things not to be restored after creating a
    hibernation image are removed, but they might lead to undesirable
    effects during resume from hibernation (e.g. the clocks would be left
    as the boot kernel set them, which might be not the same way as the
    hibernated kernel had seen them before the hibernation).

    This also is necessary for removing sysdevs from the kernel entirely
    in the future.

    Signed-off-by: Rafael J. Wysocki
    Signed-off-by: Paul Mundt

    Rafael J. Wysocki
     

11 Jan, 2011

1 commit


19 Nov, 2010

1 commit


15 Nov, 2010

2 commits


10 Nov, 2010

1 commit

  • CC drivers/sh/clk/core.o
    drivers/sh/clk/core.c: In function 'clk_round_parent':
    drivers/sh/clk/core.c:574: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'unsigned int'
    drivers/sh/clk/core.c:594: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'unsigned int'

    Signed-off-by: Paul Mundt

    Paul Mundt
     

08 Nov, 2010

2 commits


02 Nov, 2010

1 commit

  • According to the linux/clk.h definition we should be handing back an
    errno value or a valid rate. This fixes up the case where 0 can be
    returned for invalid frequencies or cases where rounding has no
    selectable candidate.

    Reported-by: Guennadi Liakhovetski
    Signed-off-by: Paul Mundt

    Paul Mundt
     

18 Oct, 2010

1 commit