rc/streamzap: timeout needs to be in NS
Subsystems (2)
PATCH 1/1 rc/streamzap: timeout needs to be in NS
Signed-off-by Jarod Wilson <[email protected]>
--- drivers/media/rc/streamzap.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/media/rc/streamzap.c +1 -1
@@ -430,7 +430,7 @@ static int __devinit streamzap_probe(struct usb_interface *intf, sz->decoder_state = PulseSpace;/* FIXME: don't yet have a way to set this */ sz->timeout_enabled = true; - sz->rdev->timeout = (((SZ_TIMEOUT *SZ_RESOLUTION *1000 ) & + sz->rdev->timeout = ((MS_TO_NS (SZ_TIMEOUT *SZ_RESOLUTION ) &IR_MAX_DURATION ) |0x03000000 );#if 0 /* not yet supported, depends on patches from maxim */
Signature · 1 line
1.7.3.4