From: Timo Karjalainen Date: Thu, 2 Oct 2008 09:07:22 +0000 (+0300) Subject: lm8323 pwm fixes X-Git-Tag: v2.6.27-omap1~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86511719c369c1cc98f82f24ad137da03e7ea58e;p=pandora-kernel.git lm8323 pwm fixes This patch fixes two problems in LM8323 PWM control. One is that locking is needed when setting and reading pwm->desired_brightness asynchronously. The other is that LM8323 may stop a PWM script only after the current instruction has finished. If it is a long RAMP, the chip would keep executing the old instruction and new settings were effectively ignored. Signed-off-by: Timo Karjalainen Signed-off-by: Daniel Stone Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed