Skip to content

Commit

Permalink
[media] tm6000: Fix fast USB access quirk
Browse files Browse the repository at this point in the history
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: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Thierry Reding authored and Mauro Carvalho Chehab committed Dec 11, 2011
1 parent 1fc2b5f commit fcd44b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/media/video/tm6000/tm6000-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fcd44b9

Please sign in to comment.