From: Frank Schaefer Date: Thu, 18 Sep 2014 20:55:45 +0000 (-0300) Subject: [media] em28xx-v4l: get rid of field "users" in struct em28xx_v4l2" X-Git-Tag: fixes-for-v3.18-merge-window~76^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e2c8717c1812628b5538c05250057b37c66fdbe;p=pandora-kernel.git [media] em28xx-v4l: get rid of field "users" in struct em28xx_v4l2" This reverts commit 747dba7de2a51a3db58b665ed3bc8c07921546ec. It breaks concurrent vbi and video capturing: While v4l2->users is the number of users of the whole device (all device nodes), v4l2_fh_is_singular() only checks the number of users of a specific device node. As a result. if one device node is open and a second device node is opened (closed), the device is reinitialized (streaming is stopped). Reported-by: Hans Verkuil Tested-by: Mauro Carvalho Chehab Signed-off-by: Frank Schäfer Cc: stable@vger.kernel.org Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed