Hi Hans, Thank you for working on this. On Fri, Sep 12, 2014 at 8:59 PM, Hans Verkuil <hverkuil@xxxxxxxxx> wrote: > From: Hans Verkuil <hans.verkuil@xxxxxxxxx> > > This moves dma_(un)map_sg to the prepare/finish memops of videobuf2-dma-sg.c. I agree with Laurent. dma_map and unmap should be done when we alloc (or get) and put a buffer, while prepare and finish should only sync. -- Best regards, Pawel Osciak -- 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