From patchwork Sat Jun 26 15:05:59 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 108213 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o5QF6MLZ019316 for ; Sat, 26 Jun 2010 15:06:22 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752478Ab0FZPGQ (ORCPT ); Sat, 26 Jun 2010 11:06:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53071 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751663Ab0FZPGP (ORCPT ); Sat, 26 Jun 2010 11:06:15 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5QF67N6010705 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 26 Jun 2010 11:06:07 -0400 Received: from [10.11.10.177] (vpn-10-177.rdu.redhat.com [10.11.10.177]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o5QF63co001113 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 26 Jun 2010 11:06:06 -0400 Message-ID: <4C261757.8030406@redhat.com> Date: Sat, 26 Jun 2010 12:05:59 -0300 From: Mauro Carvalho Chehab User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100505 Fedora/3.0.4-2.el6 Thunderbird/3.0.4 MIME-Version: 1.0 To: Devin Heitmueller CC: Linux Media Mailing List , Eugeniy Meshcheryakov Subject: Re: [PULL] http://www.kernellabs.com/hg/~dheitmueller/v4l-dvb-em28xx-isoc/ References: In-Reply-To: X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Sat, 26 Jun 2010 15:06:22 +0000 (UTC) diff -upNr oldtree/drivers/media/video/em28xx/em28xx-video.c linux/drivers/media/video/em28xx/em28xx-video.c --- oldtree/drivers/media/video/em28xx/em28xx-video.c 2010-06-26 10:02:43.000000000 -0300 +++ linux/drivers/media/video/em28xx/em28xx-video.c 2010-06-26 10:02:39.000000000 -0300 @@ -1462,7 +1462,8 @@ static int vidioc_s_ctrl(struct file *fi /* It isn't an AC97 control. Sends it to the v4l2 dev interface */ if (rc == 1) { - v4l2_device_call_all(&dev->v4l2_dev, 0, core, s_ctrl, ctrl); + rc = v4l2_device_call_until_err(&dev->v4l2_dev, 0, core, + s_ctrl, ctrl); /* * In the case of non-AC97 volume controls, we still need