From patchwork Tue Nov 6 10:50:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sakari Ailus X-Patchwork-Id: 10670061 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 526151751 for ; Tue, 6 Nov 2018 10:50:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 40BB029C74 for ; Tue, 6 Nov 2018 10:50:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3409F2A335; Tue, 6 Nov 2018 10:50:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 151EC2A331 for ; Tue, 6 Nov 2018 10:50:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729728AbeKFUOr (ORCPT ); Tue, 6 Nov 2018 15:14:47 -0500 Received: from nblzone-211-213.nblnetworks.fi ([83.145.211.213]:52612 "EHLO hillosipuli.retiisi.org.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729272AbeKFUOr (ORCPT ); Tue, 6 Nov 2018 15:14:47 -0500 Received: from valkosipuli.localdomain (valkosipuli.retiisi.org.uk [IPv6:2001:1bc8:1a6:d3d5::80:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by hillosipuli.retiisi.org.uk (Postfix) with ESMTPS id C46A6634C83 for ; Tue, 6 Nov 2018 12:50:09 +0200 (EET) Received: from sakke by valkosipuli.localdomain with local (Exim 4.89) (envelope-from ) id 1gJyvx-0002Jc-J3 for linux-media@vger.kernel.org; Tue, 06 Nov 2018 12:50:09 +0200 Date: Tue, 6 Nov 2018 12:50:09 +0200 From: Sakari Ailus To: linux-media@vger.kernel.org Subject: [GIT PULL FOR 4.20] Fix first event delivery Message-ID: <20181106105009.iq3r3cv7fraks75t@valkosipuli.retiisi.org.uk> MIME-Version: 1.0 Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Mauro, There turns out to have been an issue in the event subscription fix; in particular the first control event is missed due to a subtle bug in the patch. This patch fixes it. Once it's in, I'll submit the corresponding patches to the stable kernels. Please pull. The following changes since commit dafb7f9aef2fd44991ff1691721ff765a23be27b: v4l2-controls: add a missing include (2018-11-02 06:36:32 -0400) are available in the git repository at: ssh://linuxtv.org/git/sailus/media_tree.git tags/event-sub-fix-sign for you to fetch changes up to cbafeff167c91243f336e1703d7f86aa019b973e: v4l: event: Add subscription to list before calling "add" operation (2018-11-06 10:57:34 +0200) ---------------------------------------------------------------- fix event subscription ---------------------------------------------------------------- Sakari Ailus (1): v4l: event: Add subscription to list before calling "add" operation drivers/media/v4l2-core/v4l2-event.c | 43 ++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 19 deletions(-)