Re: Division by zero in UVC driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 16 February 2012 07:30:17 Laurent Pinchart wrote:
> Hi Hans,
> 
> On Wednesday 15 February 2012 18:27:29 Hans Petter Selasky wrote:
> > Hi,
> > 
> > After getting through the compilation issues regarding the uvc_debugfs, I
> > am now facing another problem, which I think is more generic.
> > 
> > The FreeBSD port of the Linux UVC driver, webcamd, gives a division by
> > zero inside the UVC driver, because it does not properly check if the
> > returned SOF counter is the same like the previous one. This can also
> > happen on Linux if the UVC capable device is plugged exactly when the
> > EHCI/OHCI/UHCI SOF counter is equal to zero!
> 
> It's a know bug (at least to me :-)). Does
> http://git.linuxtv.org/pinchartl/uvcvideo.git/commit/5c97eb2eb9c45dad8825de
> 7754ceb33699451978 fix your problem ? I've queued that patch in my tree for
> v3.4.

Your patch works! Thanks!

--HPS
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux