linux-uconsole/drivers/media/usb/b2c2
Johan Hovold 460525acc9 media: flexcop-usb: fix control-message timeouts
commit cd1798a387 upstream.

USB control-message timeouts are specified in milliseconds and should
specifically not vary with CONFIG_HZ.

Note that the driver was multiplying some of the timeout values with HZ
twice resulting in 3000-second timeouts with HZ=1000.

Also note that two of the timeout defines are currently unused.

Fixes: 2154be651b ("[media] redrat3: new rc-core IR transceiver device driver")
Cc: stable@vger.kernel.org      # 3.0
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-01-27 10:53:42 +01:00
..
flexcop-usb.c media: flexcop-usb: fix control-message timeouts 2022-01-27 10:53:42 +01:00
flexcop-usb.h media: flexcop-usb: fix control-message timeouts 2022-01-27 10:53:42 +01:00
Kconfig
Makefile