PATCH: gscpav2-0.0.29 some minor fixes

Hans de Goede <[email protected]> Mon, 28 Apr 2008 22:03:30 +0200
Newsgroups gmane.linux.drivers.spca50x.devel
Message-ID <[email protected]>
Hi Jef,

Here are 2 minor fixes from my previous patch set which didn't make it in 0.0.29.

1) vidioc_s_parm currently takes the usb_lock, but it doesn't do anything with
    usb nor call any sd functions, so there is no need, really no need at all to
    take the usb lock, if you disagree please explain why.

2) Replace wait_event_interruptible with wait_event_interruptible_timeout, if
    for whatever reason the isoc flow stops, the applications should get an IO
    error, not hang indefinitely.

Regards,

Hans

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.