commit | 4138111a27859dcc56a5592c804dd16bb12a23d1 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hans.verkuil@cisco.com> | Fri Dec 13 13:13:39 2013 -0300 |
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | Tue Jan 07 07:07:22 2014 -0200 |
tree | a20fbb0f7795f176648ebec165ad021046229c9f | |
parent | f103b5d64e12198343edc9ef7ad3eb4c0e826adf [diff] |
[media] vb2: simplify qbuf/prepare_buf by removing callback The callback used to merge the common code of the qbuf/prepare_buf code can be removed now that the mmap_sem handling is pushed down to __buf_prepare(). This makes the code more readable. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>