From: Peter Korsgaard Date: Wed, 1 Jul 2009 15:47:08 +0000 (+0200) Subject: ARM: S3C: PWM fix for low duty cycle X-Git-Tag: v2.6.31-rc6~40^2~3^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=165f5f64199f972a21f21effc125d89ed2488e58;p=pandora-kernel.git ARM: S3C: PWM fix for low duty cycle The pwm hardware only checks the compare register after a decrement, so the pin never toggles if tcmp = tcnt. This happens when a very low duty cycle is requested. Fix it by always ensuring that tcmp < tcnt. Signed-off-by: Peter Korsgaard Signed-off-by: Ben Dooks --- Reading git-diff-tree failed