diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2011-03-15 13:50:52 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-04-19 15:01:39 -0400 |
commit | c4a627333f0d952c5e10c02609493fa63b5c7b28 (patch) | |
tree | 6fdb568363159339f68652de51077cae55853e7a /drivers/hwspinlock | |
parent | 25b9875fb4880efabb79d6a35c92cc7287fcaccd (diff) |
[media] s5p-fimc: Do not allow changing format after REQBUFS
Protecting the color format with vb2_is_streaming() is not sufficient
as this prevents changing the format only after VIDIOC_STREAMON.
To prevent the color format reconfiguration as soon as buffers
are allocated use vb2_is_busy() instead.
Also make the videobuf queue ops structure static.
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/hwspinlock')
0 files changed, 0 insertions, 0 deletions