提交 fcd44b9e 编写于 作者: T Thierry Reding 提交者: Mauro Carvalho Chehab

[media] tm6000: Fix fast USB access quirk

The original patch used the fast USB quirk to enable fast access to
registers in the tm6000_read_write_usb(). The applied patch moved the
check to the tm6000_reset(), probably due to some merge conflicts.
Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 1fc2b5f7
......@@ -88,7 +88,9 @@ int tm6000_read_write_usb(struct tm6000_core *dev, u8 req_type, u8 req,
}
kfree(data);
msleep(5);
if ((dev->quirks & TM6000_QUIRK_NO_USB_DELAY) == 0)
msleep(5);
mutex_unlock(&dev->usb_lock);
return ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册