From: Ricardo Ribalda Date: Fri, 8 Nov 2013 10:08:45 +0000 (-0300) Subject: [media] vb2: Return 0 when streamon and streamoff are already on/off X-Git-Tag: v3.14-rc1~20^2~366 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f956035ce70b8da9928aac1424485c3526fccb11;p=pandora-kernel.git [media] vb2: Return 0 when streamon and streamoff are already on/off According to the doc: If VIDIOC_STREAMON is called when streaming is already in progress, or if VIDIOC_STREAMOFF is called when streaming is already stopped, then the ioctl does nothing and 0 is returned. The current implementation was returning -EINVAL instead. Signed-off-by: Ricardo Ribalda Delgado Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed