Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3222158ybi; Fri, 5 Jul 2019 03:58:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqx/ABlSBTyHiseApd0ZrQpdHjgD6JBknCP46Sw8SyNDS7y/kAW4C7mHRZFxZ5HNt5xPoqoq X-Received: by 2002:a17:90a:9604:: with SMTP id v4mr4692226pjo.66.1562324338172; Fri, 05 Jul 2019 03:58:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562324338; cv=none; d=google.com; s=arc-20160816; b=MKIT5T+IAWre1nobSBvu3WbUAPhLG5rcgR924ot9xKHaJuN7wYOxzgfbL0mFTYtwmW vBEo2y/+uzbvdM+0P/PEgApSg/vlLVfigSjvGDq2uzk9fESW3RDIEWVCSwlkoKDa6XNY k2pb+nozFNzJjJGwoaqv0F8NLq0u4jxP4c9X78ZQ9dl/fGTZ+rCYWCJ+5Poz0tXFkaiR iZkCnGZno+HYbF1tRJsiZJZLxGLCa67Wp5dv8QXOvo2lynHdrQd+FvUgiXCWMGqbz3I2 VYZL5E9tJ+2Hw6mWKNG6CRkhFPN+6BzPWRUrcA2pm3PBVYIxDmhLvum2GKdbZ1+5HcBW sQ1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=szkQ+8wAhdF2atU4GXas+uCFEomDFJslqNNhXjmvN1o=; b=wcL10EC4pmSr6pRDJY7u6s9+g5AEZRqES/XJ6kxdgnU1d0ohurlUCjDfw6IHAyWNCG 4e1gYzwvE79xeWPg/odRbUogt79IOXjYb8E3exD0LCVhXs7Qgp6+muyXDXWiQQyqWd1D V6vgoi/qYGF/nq/wnDaG0qjYyHA9kCDJ1LE21sZdTQpKGjRG01i3l8Z+7J19RZ/Biimv yo1bI/ceSe6VXEATmYmq9p1P9rxpzpYbK1Hdjs0P/NsSKh47MtULZXSes7i6xcKdBpN2 fPsjteEytQ30AD4foymQ12e1KwgBD52TgNoKQIi9G2iFMcAUN6EKPuSgC5QUFDS7XIJ9 WBfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@vivotek.com header.s=dkim header.b=BQyJxYrL; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w9si7951594pjv.67.2019.07.05.03.58.43; Fri, 05 Jul 2019 03:58:58 -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=@vivotek.com header.s=dkim header.b=BQyJxYrL; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728452AbfGEKgD (ORCPT + 99 others); Fri, 5 Jul 2019 06:36:03 -0400 Received: from mail.vivotek.com ([60.248.39.150]:38268 "EHLO mail.vivotek.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727595AbfGEKgD (ORCPT ); Fri, 5 Jul 2019 06:36:03 -0400 Received: from pps.filterd (vivotekpps.vivotek.com [127.0.0.1]) by vivotekpps.vivotek.com (8.16.0.22/8.16.0.22) with SMTP id x65AZspl008944; Fri, 5 Jul 2019 18:35:54 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivotek.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=dkim; bh=szkQ+8wAhdF2atU4GXas+uCFEomDFJslqNNhXjmvN1o=; b=BQyJxYrLgq/3q6jrLywtqdKmanzL6QSvnn4A1KgvKa3Bj99CXfLVZ1wJdXUnN2nBMTP0 SNDwuzfmz9yXrJNSUdVJ4pca5XxpAIfDCbNY9oCG1RH8d78UYS9kxQi60icq6ORpjoAE TSuznnVxFp4II/xqgy+sAt2fq1FqIdybpOI= Received: from cas01.vivotek.tw ([192.168.0.58]) by vivotekpps.vivotek.com with ESMTP id 2tj3w0g4su-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 05 Jul 2019 18:35:54 +0800 Received: from MBS-6F-DAG.vivotek.tw ([fe80::9001:3cd7:4ddb:c4ca]) by CAS01.vivotek.tw ([::1]) with mapi id 14.03.0319.002; Fri, 5 Jul 2019 18:35:53 +0800 From: To: CC: , , , Subject: RE: [PATCH] gpiolib: fix incorrect IRQ requesting of an active-low lineevent Thread-Topic: [PATCH] gpiolib: fix incorrect IRQ requesting of an active-low lineevent Thread-Index: AQHVMxS2opuBZKJbbUCrIFX8Aoy3qKa7xiDw Date: Fri, 5 Jul 2019 10:35:52 +0000 Message-ID: <5DB475451BAA174CB158B5E897FC1525920E9FD0@MBS-6F-DAG.vivotek.tw> References: <20190705093031.18182-1-michael.wu@vatics.com> In-Reply-To: Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.17.134] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-07-05_04:,, signatures=0 X-Proofpoint-Spam-Reason: safe Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQmFydG9zeiwNCg0KRm9yIGV4YW1wbGUsIHRoZXJlIGlzIGEgYnV0dG9uIHdoaWNoIGRyaXZl cyBsZXZlbCB0byBiZSBsb3cgd2hlbiBpdCBpcyBwdXNoZWQsIGFuZCBkcml2ZXJzI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