uvideo: choose best alternate setting

2010-10-15 Thread Jacob Meuser
choose the bAlternateSetting with the closest matching bandwidth, not the first one we come across that has at least as much as we need. the bAlternateSettings aren't guaranteed to be ordered by increasing bandwidth, and using one with too much bandwidth can stall the usb pipes. lets the Ricoh

Re: uvideo: choose best alternate setting

2010-10-15 Thread Jacob Meuser
On Fri, Oct 15, 2010 at 09:08:01PM +, Jacob Meuser wrote: choose the bAlternateSetting with the closest matching bandwidth, not the first one we come across that has at least as much as we need. the bAlternateSettings aren't guaranteed to be ordered by increasing bandwidth, and using one