02 Jun, 2016

1 commit

  • Although unbinding a driver requires root privileges but it still might
    be used theoretically in certain attacks (by triggering NULL pointer
    exception or memory corruption if driver does not provide proper remove
    callbacks or core does not handle it).

    Samsung clock drivers are essential for system operation so their
    removal is not expected. More over, the Exynos3250 ISP clock driver does
    not implement remove() driver callback and it is not buildable as
    modules.

    Suppress the unbind interface for Exynos3250 ISP and S3C2410 DCLK clock
    drivers.

    Suggested-by: Marek Szyprowski
    Signed-off-by: Krzysztof Kozlowski
    Signed-off-by: Sylwester Nawrocki

    Krzysztof Kozlowski
     

16 Dec, 2015

1 commit


25 Aug, 2015

1 commit

  • Mostly converted with the following semantic patch:

    @@
    struct clk_hw *E;
    @@

    -__clk_get_num_parents(E->clk)
    +clk_hw_get_num_parents(E)

    Acked-by: Boris Brezillon
    Cc: Chao Xie
    Cc: Krzysztof Kozlowski
    Cc: Javier Martinez Canillas
    Cc: Tomasz Figa
    Cc: Maxime Ripard
    Cc: "Emilio López"
    Acked-by: Tero Kristo
    Cc: Geert Uytterhoeven
    Acked-by: Sylwester Nawrocki
    Signed-off-by: Stephen Boyd

    Stephen Boyd
     

21 Jul, 2015

1 commit

  • Clock provider drivers generally shouldn't include clk.h because
    it's the consumer API. Only include clk.h in files that are
    using it. The clkdev.h header isn't always used either, so remove
    it and add in slab.h where files were relying on it to include
    slab for them.

    Cc: Chanwoo Choi
    Cc: Sylwester Nawrocki
    Cc: Krzysztof Kozlowski
    Cc: Kukjin Kim
    Signed-off-by: Stephen Boyd

    Stephen Boyd
     

06 May, 2015

2 commits


26 Sep, 2014

1 commit

  • There is no need to init .owner field.

    Based on the patch from Peter Griffin
    "mmc: remove .owner field for drivers using module_platform_driver"

    This patch removes the superflous .owner field for drivers which
    use the module_platform_driver API, as this is overriden in
    platform_driver_register anyway."

    Signed-off-by: Kiran Padwal
    Signed-off-by: Mike Turquette

    Kiran Padwal
     

27 May, 2014

2 commits


09 May, 2014

1 commit

  • This adds a driver for controlling the external clock outputs of
    s3c24xx architectures including the dclk muxes and dividers.

    The driver at the moment only supports the legacy non-dt boards using these
    clock outputs. The clock-output control itself is part of the system-controller
    mainly controlled by the pinctrl drivers. So it should most likely be
    integrated there for dt platforms.

    Signed-off-by: Heiko Stuebner
    Acked-by: Mike Turquette
    Signed-off-by: Kukjin Kim

    Heiko Stuebner