Re: [RFCv2 PATCH 01/14] vb2: introduce buf_prepare/finish_for_cpu

2014-09-12 Thread Laurent Pinchart
Hi Hans, Thank you for the patch. On Friday 12 September 2014 14:59:50 Hans Verkuil wrote: > From: Hans Verkuil > > This splits the buf_prepare and buf_finish actions into two: one > called while the cpu can still access the buffer contents, and one where > the memory has been prepared for DMA

[RFCv2 PATCH 01/14] vb2: introduce buf_prepare/finish_for_cpu

2014-09-12 Thread Hans Verkuil
From: Hans Verkuil This splits the buf_prepare and buf_finish actions into two: one called while the cpu can still access the buffer contents, and one where the memory has been prepared for DMA and the cpu no longer can access it. Update a few drivers that use buf_finish where they really meant