Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp287246ybb; Fri, 3 Apr 2020 02:43:40 -0700 (PDT) X-Google-Smtp-Source: APiQypLOplcTJMmsxsdz6vnW5y+fjHyi+4/B0Zhb/DJ4Qi2wK9XS/dviKUEeVa5e4ZLErOM6mvmj X-Received: by 2002:a9d:7a9:: with SMTP id 38mr5638572oto.60.1585907020811; Fri, 03 Apr 2020 02:43:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585907020; cv=none; d=google.com; s=arc-20160816; b=cK3iBmuowOQHz0/BYazFLEE6ClUruFUwIzNHkiAOfRfzApz3SnxdmrcjX7B2MvFC3f +Vy5pURWp2s+23sFA3QPGKcgXs84Dqycxq4Xjqc0lu9dIb2kOwe++YcuScpe3j5/dao4 mkcFXa+aEofUP9TJBLL0O2BMt0s+TFUGRVNuyCYLrpGdqAgVD40pGm7NcK1KeCQVfksL bWtMZMgeqCyb8xCM/CpFlMr22iTrWMJPhzY1bOz5Ld2g7sgwVD3bfm4mhyr0OVGZCeO3 Cp+uGk6ukgTjZysu7GGwvzwNhFOGObXptOnnlRDu7W8w9xkNL57ostGE3I1gw/JYzvfu tmXw== 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=1NzC3/r7pfZorLeb22GFj0dVTvtgWY91KdwBPoSAgm4=; b=mw4Q6JbNZtKYMmwiLkL17eyPkwFBY4GS5C4sV3WwkhsIkgx5QR1+PM/e3BkVsihkSP i+kRpzMQYK8ZPXqG3gCXaQP+8eMYCEzMdlQqP5MyAH9wYrM2/soucGZxib2Z3ArShzAV Fd4LB3KGXmjvSN1wlC2qGqtk93xa9Xe0QGWIL1s2ZezGhFUUSDoW23tUiHHeOhhifw3U jn5keMh4t8ry1o6JFrat/9ASAhRi3XtcEMz6lAfq4AKRm+DljFZCJ4OG90gA56s4pKTk 8mdbdEkktdEoBJtiRSg4TGIS7+jQPvrP4T4xOfvlApM8w/86a/BbLCqRgcIm51+QGCVl lK3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=nfjjgPbw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id 38si3504389otm.189.2020.04.03.02.43.28; Fri, 03 Apr 2020 02:43:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=nfjjgPbw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S2390712AbgDCJko (ORCPT + 99 others); Fri, 3 Apr 2020 05:40:44 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:18079 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2390641AbgDCJkn (ORCPT ); Fri, 3 Apr 2020 05:40:43 -0400 X-UUID: 7dc599fef787492bad3d551648e1860a-20200403 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=1NzC3/r7pfZorLeb22GFj0dVTvtgWY91KdwBPoSAgm4=; b=nfjjgPbwV5iX2oVyvnUBHwfPiH55vfhaFgk4QsDY4ut0TO9k0FOw4Kc+glreFewRWw3N1RQYlxxR5unRfGX8MjTw0L5u28Mr9O2DTkBj7e1CXCsrYiHTZ/PS+UliAiBspKNiMVp9cNhe6WBKNrmW5WyO2HHNDGaD94I4HLYPw8g=; X-UUID: 7dc599fef787492bad3d551648e1860a-20200403 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 667469995; Fri, 03 Apr 2020 17:40:39 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 3 Apr 2020 17:40:35 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 3 Apr 2020 17:40:34 +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 v8 03/14] media: platform: Improve getting and requesting irq flow for bug fixing Date: Fri, 3 Apr 2020 17:40:22 +0800 Message-ID: <20200403094033.8288-4-xia.jiang@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20200403094033.8288-1-xia.jiang@mediatek.com> References: <20200403094033.8288-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 RGVsZXRlIHBsYXRmb3JtX2dldF9yZXNvdXJjZSBvcGVyYXRpb24gZm9yIGlycS4NClJldHVybiBh Y3R1YWwgdmFsdWUgcmF0aGVyIHRoYW4gRUlOVkFMIHdoZW4gZmFpbCB0byBnZXQgYW5kIHJ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