Am Sonntag, 6. März 2011, 16:45:21 schrieb Florian Mickler: > Hm.. allocating the buffer > in the probe routine and deallocating it in the usb_driver disconnect > callback should work? Yes. > How come that it must be a seperate kmalloc buffer? Is it some aligning > that kmalloc garantees? On some CPUs DMA affects on main CPU, not the CPU caches. You need to synchronize the cache before you start DMA and must not touch the buffer until DMA is finished. This applies with a certain granularity that kmalloc respects. The ugly details are in Documentation. Regards Oliver -- 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