dan-and / linux-sunxi

Linux source for Allwinner/Boxchip F20 (sun3i), A10 (sun4i), A12/A13 (sun5i), A20 (sun7i) SoCs -- You can visit it a chat at https://gitter.im/dan-and/linux-sunxi --
http://linux-sunxi.org/Linux
Other
17 stars 17 forks source link

driver/staging/media/lirc/lirc_gpio.c : blaster not working properly #21

Open damien7851 opened 8 years ago

damien7851 commented 8 years ago

HI,

I have tested lirc_gpio driver in blast mode on cubietruck. It emit correct code but a half of the frequency required. I think that function udelay can't produce correct delay with frequency scalling and or dual core cpu. this function use loop per jiffie calculated at boot and is busy waiting. in case of continuous emission cpu is blocked. I plan to use pwm output in order to replace sofcarrier but pwm lib is old and difficult to use. furthermore delay management remains critical.