media: rc: ir-spi: fix duty cycle

Calculate the pulse rather than having a few preset values.

Signed-off-by: Sean Young <sean@mess.org>
Acked-by: Andi Shyti <andi.shyti@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Sean Young 2018-01-27 09:05:37 -05:00 • committed by Mauro Carvalho Chehab
commit 069edf8a6a