From: Hans Verkuil Date: Wed, 19 Sep 2012 13:14:41 +0000 (-0300) Subject: [media] v4l2-ioctl.c: handle PREPARE_BUF like QUERYBUF X-Git-Tag: v3.7-rc1~38^2^2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96b1a70226cd43f69c63a7ba2a769bece08cf64e;p=pandora-kernel.git [media] v4l2-ioctl.c: handle PREPARE_BUF like QUERYBUF The core code for PREPARE_BUF didn't take the multiplanar case into account, which might cause page faults. Handle PREPARE_BUF just like QUERYBUF and QBUF/DQBUF. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed