Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1001809ybh; Wed, 22 Jul 2020 20:06:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyoiFwG2Pr3sHh6rg+5mMmfYltD6/kh7HfISRWKMrfVtYIc2rhAdCgK4TnLUZgID3phGjUE X-Received: by 2002:a17:906:e2ca:: with SMTP id gr10mr2341355ejb.81.1595473598695; Wed, 22 Jul 2020 20:06:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595473598; cv=none; d=google.com; s=arc-20160816; b=dLfT9VDI6PBGclR4n9vQJKT24evgy9p7EJwdaYiEsPrNrvwsXNFnd6KyUpoCW42BcM 4pzcI4/cTuNYI8wmYY8rdlOMIO9SwfJlPGqx6Tu0bC6qiNMkgaqPrz6TKUtfXlMRsVHN 6hblhmL4E1yLoAqjMUO4DXIE4KBXZVcAlxgTO6DYdmoYIEDMjZ/rp+vJ2cc4zaw42890 KYUgsyYr21X3y9FJtckbe8vPQCBZCoJ0RWpG7q8iQ2VsC3/FJDxmM4r5p8vlXpj3+iU1 mY18KDQ7WBum1gJYgh2+WOlibS87CI/8BcyJRlvqjFG0jE2B8nhj+IzB++lcuz4NbaVY fL2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=a+Ih5WuOcSlcSMWUoe9LrLXVyD3j6+ncj/90Nlku/Rw=; b=XjnBIB5q6NehxklRZDDyaUY9xJsqCUyxqSHMfSDM5aEItnzzZ52MFVC+9sb5bB5R2K wrhhyfGuAwEXl2z3BUCQoG5cIB9pm7GxutoDqMo4cdDonMuy3YapwIr86olSAHfXcMG+ RxJst/iegW7e24LhoYL5BM8CI0EVbm+I+xnDxnMPyb4cAT+xiqBC0KLrKhSSF3sVmaqN O5voYAUp4Qdtd/N0k/W84PEAvWf2NPhrzOBAQT53InN4xhgCRLVa2luQNbWMcstzTR5v wBrkDPC0y2OZTlO2IDzeRB1Iy0I6jJ7L6NVbWOGWnq1ki9wKDK5PTlB+pb3+y/3gK+hb q2Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Cftzqklq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ov30si37394ejb.181.2020.07.22.20.06.15; Wed, 22 Jul 2020 20:06:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Cftzqklq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733229AbgGWDGH (ORCPT + 99 others); Wed, 22 Jul 2020 23:06:07 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:63474 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728902AbgGWDGH (ORCPT ); Wed, 22 Jul 2020 23:06:07 -0400 X-UUID: 95506dad22c346319f49b42f4fd376b2-20200723 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=a+Ih5WuOcSlcSMWUoe9LrLXVyD3j6+ncj/90Nlku/Rw=; b=CftzqklqyS8Ze4qqPO76eeyFZvIUAyqPSwMz/u5pZ4ZcNNNGjVjSFL0+Ka4bCg93fxaTEpLigyrEqdsMLS5P6mh4aokjxG6Q9IOc0FDxXSOFMScav96BpxeL3+wvxKhhVeTKy98GbuPDH5ReSb8BAvY0r0QCUizhJ1ZfeBuAn4Q=; X-UUID: 95506dad22c346319f49b42f4fd376b2-20200723 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1114700223; Thu, 23 Jul 2020 11:06:04 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 23 Jul 2020 11:06:03 +0800 Received: from localhost.localdomain (10.17.3.153) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 23 Jul 2020 11:05:59 +0800 From: Xia Jiang To: Hans Verkuil , Mauro Carvalho Chehab , Rob Herring , Matthias Brugger , Rick Chang CC: , , , , , Marek Szyprowski , Tomasz Figa , , , , , , Xia Jiang Subject: [PATCH v10 01/28] media: platform: Improve subscribe event flow for bug fixing Date: Thu, 23 Jul 2020 11:04:24 +0800 Message-ID: <20200723030451.5616-2-xia.jiang@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20200723030451.5616-1-xia.jiang@mediatek.com> References: <20200723030451.5616-1-xia.jiang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org TGV0IHY0bDJfY3RybF9zdWJzY3JpYmVfZXZlbnQoKSBkbyB0aGUgam9iIGZvciBvdGhlciB0eXBl cyBleGNlcHQNClY0TDJfRVZFTlRfU09VUkNFX0NIQU5HRS4NCg0KUmV2aWV3Z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