Home
last modified time | relevance | path

Searched hist:cd1798a387825cc4a51282f5a611ad05bb1ad75f (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/media/usb/b2c2/
H A Dflexcop-usb.hdiff cd1798a387825cc4a51282f5a611ad05bb1ad75f Mon Oct 25 14:16:36 CEST 2021 Johan Hovold <johan@kernel.org> media: flexcop-usb: fix control-message timeouts

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: 2154be651b90 ("[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>
H A Dflexcop-usb.cdiff cd1798a387825cc4a51282f5a611ad05bb1ad75f Mon Oct 25 14:16:36 CEST 2021 Johan Hovold <johan@kernel.org> media: flexcop-usb: fix control-message timeouts

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: 2154be651b90 ("[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>