From: Hans de Goede Date: Sun, 31 Aug 2014 10:19:21 +0000 (-0300) Subject: [media] videobuf: Allow reqbufs(0) to free current buffers X-Git-Tag: fixes-against-v3.18-rc2~130^2^2~139 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7900eedfb393dcea9794fbb6d57e4d43338a16b;p=pandora-kernel.git [media] videobuf: Allow reqbufs(0) to free current buffers All the infrastructure for this is already there, and despite our desires for the old videobuf code to go away, it is currently still in use in 18 drivers. Allowing reqbufs(0) makes these drivers behave consistent with modern drivers, making live easier for userspace, see e.g. : https://bugzilla.gnome.org/show_bug.cgi?id=735660 Signed-off-by: Hans de Goede Acked-by: Marek Szyprowski Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed