From: Maxime Ripard Date: Tue, 31 Mar 2015 10:12:26 +0000 (+0200) Subject: clocksource/drivers/sun5i: Add clock notifiers X-Git-Tag: omap-for-v4.2/o2_dc~187^2~57 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3071efa466b30636bf958f3d13bc808e03105cd8;p=pandora-kernel.git clocksource/drivers/sun5i: Add clock notifiers The parent clock of the sun5i timer is the AHB clock, which rate might change because of other devices requirements. This is for example the case on the Allwinner A31, where the DMA controller needs a minimum rate higher than the default, that is enforced after the timer driver has probed. Add clock notifiers to make sure we reflect the clock rate changes in the timer rates. Signed-off-by: Maxime Ripard Signed-off-by: Daniel Lezcano Cc: linux-arm-kernel@lists.infradead.org Link: http://lkml.kernel.org/r/1427796746-373-5-git-send-email-daniel.lezcano@linaro.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed