diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2014-04-11 04:40:03 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-04-16 18:51:58 -0300 |
commit | 7bb6edd37fc2e56297231cc854d7a17e336590db (patch) | |
tree | 7541ba7ac769c20f05a650d63a69908a22175008 /fs/splice.c | |
parent | 74753cffa6fae399aef0f0a1a3315196e6e339cf (diff) |
[media] vb2: allow read/write as long as the format is single planar
It was impossible to read() or write() a frame if the queue type was multiplanar.
Even if the current format is single planar. Change this to just check whether
the number of planes is 1 or more.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'fs/splice.c')
0 files changed, 0 insertions, 0 deletions