From: Tomasz Figa Date: Tue, 23 Apr 2013 15:46:28 +0000 (+0200) Subject: clocksource: samsung_pwm_timer: Use proper clockevents max_delta X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~6^2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9b852b8a7bc0217a03afff07fad34093e087542;p=pandora-kernel.git clocksource: samsung_pwm_timer: Use proper clockevents max_delta This patch replaces hardcoded -1 argument passed to clockevents_config_and_register() with tcnt_max calculated based on variant data. This fixes invalid max delta configuration for 16-bit timers of s3c24xx. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park Reviewed-by: Arnd Bergmann Acked-by: Kukjin Kim Signed-off-by: Olof Johansson --- Reading git-diff-tree failed