From: Hans Verkuil Date: Fri, 11 Apr 2014 07:40:03 +0000 (-0300) Subject: [media] vb2: allow read/write as long as the format is single planar X-Git-Tag: omap-for-v3.16/fixes-against-rc1~25^2~246 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bb6edd37fc2e56297231cc854d7a17e336590db;p=pandora-kernel.git [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 Acked-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed