From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8BFDBC2D0E0 for ; Fri, 11 Sep 2020 01:17:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6220221D47 for ; Fri, 11 Sep 2020 01:17:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725280AbgIKBR4 (ORCPT ); Thu, 10 Sep 2020 21:17:56 -0400 Received: from pi.codeconstruct.com.au ([103.231.89.101]:41892 "EHLO codeconstruct.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725294AbgIKBRz (ORCPT ); Thu, 10 Sep 2020 21:17:55 -0400 Received: from pecola.lan (180-150-121-66.b49679.p1.nbn.aussiebb.net [180.150.121.66]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id 6CAA43FEF4; Thu, 10 Sep 2020 21:12:11 -0400 (EDT) Message-ID: <5d953d84c8b84d182068329db124517f8c5603b8.camel@codeconstruct.com.au> Subject: Re: [PATCH 2/2] gpio/aspeed-sgpio: don't enable all interrupts by default From: Jeremy Kerr To: Joel Stanley Cc: "open list:GPIO SUBSYSTEM" , linux-aspeed , devicetree , Andrew Jeffery Date: Fri, 11 Sep 2020 09:12:11 +0800 In-Reply-To: References: <20200715135418.3194860-1-jk@codeconstruct.com.au> <20200715135418.3194860-2-jk@codeconstruct.com.au> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.4-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Hi Joel, > And also removing the enabling of IRQs. This part makes sense, as > it's what the commit message says. > > If you think a sensible default should be single edge (and I would > agree with that change), perhaps update the comment to say "set > single edge trigger mode" and mention it in your commit message. OK, shall do. That was my intention with the "reasonable defaults" reference, but being explicit about that better here. I'll send a v2 with an updated commit message. Cheers, Jeremy