commit | 2c2dd6ac738d8a22def46e073fb7383cac8fa180 | [log] [tgz] |
---|---|---|
author | Marek Szyprowski <m.szyprowski@samsung.com> | Wed Oct 12 13:09:53 2011 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Tue Nov 08 08:59:33 2011 -0200 |
tree | edacdfe8a4392fca7caae99e2cd72368179bb118 | |
parent | e836a1c078e230dd5a94bb086b186c2be3ec6a84 [diff] |
[media] media: vb2: add a check for uninitialized buffer __buffer_in_use() might be called for empty/uninitialized buffer in the following scenario: REQBUF(n, USER_PTR), QUERYBUF(). This patch fixes kernel ops in such case. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> CC: Pawel Osciak <pawel@osciak.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>