Hi Andreas, On Monday 07 June 2010 14:31:24 Andreas Auer wrote: > Hi Laurent, > > thanks for your help. I got it working. I tried it with the first > approach you suggested: In the "uvc_lock_buffer" function, I do the > ioremap of the physical address range and store the pointer in the > uvc_buffer struct in a new variable (ioremap is not working in the > "uvc_buffer_write" function because we are in an interrupt). > Then, the "uvc_buffer_write" function writes the data to the memory. > "iounmap" is done in "uvc_unlock_buffer". > I hope that's the right way!?
Yes that's the right way, but I'd like to experiment with the workqueue solution. If it doesn't introduce performance issues it might be better to do it that way. Could you send me the ioremap patch ? -- Regards, Laurent Pinchart _______________________________________________ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel