android_kernel_xiaomi_sm8350/arch/arm/plat-s3c24xx
Peter Korsgaard 165f5f6419 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 <jacmet@sunsite.dk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
2009-07-30 23:54:50 +01:00
..
include [ARM] S3C: Merge next-s3c64xx-dma2 into for-rmk-devel 2009-05-18 16:32:29 +01:00
adc.c [ARM] S3C: ADC: Expose number of remaining conversions to 2009-05-16 22:22:01 +01:00
clock-dclk.c [ARM] Revert futher extraneous changes from the S3C header move 2009-03-11 18:28:24 +00:00
clock.c [ARM] S3C: Move core clock support to plat-s3c 2008-12-15 21:46:18 +00:00
common-smdk.c [ARM] S3C24XX: GPIO: Change to macros for GPIO numbering 2009-05-18 16:26:03 +01:00
cpu.c [ARM] pass reboot command line to arch_reset() 2009-03-19 16:20:24 +00:00
devs.c [ARM] S3C: Add common USB OHCI device definition 2009-05-07 11:04:54 +01:00
dma.c Merge branch for-rmk-devel of git://aeryn.fluff.org.uk/bjdooks/linux into devel 2009-06-10 22:41:06 +01:00
gpio.c [ARM] S3C24XX: GPIO: Fix error returns from gpio functions 2009-05-18 19:40:18 +01:00
gpiolib.c [ARM] S3C24XX: GPIO: Fix missing GPIOs in gpiolib 2009-05-18 20:20:12 +01:00
irq-pm.c [ARM] S3C: Make IRQ_EINT sleep control common 2009-03-08 12:35:36 +00:00
irq.c [ARM] S3C24XX: Remove changelog from arch/arm/plat-s3c24xx/irq.c 2009-03-08 12:35:30 +00:00
Kconfig [ARM] S3C: Move DMA channel management code to plat-s3c 2009-05-01 11:39:07 +01:00
Makefile [ARM] S3C24XX: Fix use of CONFIG_S3C24XX_PWM 2009-06-23 12:24:06 +01:00
pm-simtec.c [ARM] S3C: Rename s3c2410_pm_init to s3c_pm_init. 2009-03-08 12:35:47 +00:00
pm.c [ARM] S3C24XX: GPIO: Change to macros for GPIO numbering 2009-05-18 16:26:03 +01:00
pwm.c ARM: S3C: PWM fix for low duty cycle 2009-07-30 23:54:50 +01:00
s3c244x-clock.c
s3c244x-irq.c
s3c244x.c [ARM] S3C: Move PM support functions to common location 2009-03-08 12:23:51 +00:00
s3c244x.h
s3c2410-clock.c [ARM] S3C: Update time initialisation to fix S3C64XX time problems 2008-12-16 10:13:02 +00:00
setup-i2c.c [ARM] S3C24XX: GPIO: Change to macros for GPIO numbering 2009-05-18 16:26:03 +01:00
sleep.S [ARM] S3C: Tidy sleep code path to fix call flow 2009-03-10 11:48:07 +00:00
spi-bus0-gpe11_12_13.c [ARM] S3C24XX: Fix spi-bus configuration build errors 2009-06-23 16:16:01 +01:00
spi-bus1-gpg5_6_7.c [ARM] S3C24XX: Fix spi-bus configuration build errors 2009-06-23 16:16:01 +01:00