From: Hans Verkuil Date: Thu, 14 Aug 2014 09:43:36 +0000 (-0300) Subject: [media] cx23885: Add busy checks before changing formats X-Git-Tag: fixes-against-v3.18-rc2~130^2^2~215 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1b6a735328b507810d2436891ee977fb8cd62d7;p=pandora-kernel.git [media] cx23885: Add busy checks before changing formats Before you can change the standard or the capture format, make sure the various vb2_queues aren't in use since you cannot change the buffer size from underneath a a busy vb2_queue. Also make sure that the return code of cx23885_set_tvnorm is returned correctly, otherwise the -EBUSY will be lost. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed