From: Hans Verkuil Date: Fri, 7 Sep 2012 15:50:02 +0000 (-0300) Subject: [media] vb2: fix wrong owner check X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~3^2^2~138 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c82c75c3950dea31fe03567125feea089893141;p=pandora-kernel.git [media] vb2: fix wrong owner check Check against q->fileio to see if the queue owner should be set or not. The former check against the return value of read or write is wrong, since read/write can return an error, even if the queue is in streaming mode. For example, EAGAIN when in non-blocking mode. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed