The allocation of dma_buf_attachment is moved to attach callback.
The initialization is left in map callback.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
---
drivers/media/video/videobuf2-dma-contig.c | 39 ++--
1 file changed, 26 insertions(+), 13
The allocation of dma_buf_attachment is moved to attach callback.
The initialization is left in map callback.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
---
drivers/media/video/videobuf2-dma-contig.c | 39 ++--
1 file changed, 26 insertions(+), 13