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=-10.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 A3DF4C432BE for ; Fri, 23 Jul 2021 10:01:50 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7201C60EB6 for ; Fri, 23 Jul 2021 10:01:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7201C60EB6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=r8DK8IhySLV2Ly3ow4UvGZKwrN6YDIpbW4uAkYJaYB0=; b=h5dpfJYBspdOOQ sC0hMNIXUS5V5JStLIv0FhOkkFF+N5nqsfRIvQ25eb+veTBwyvold5KSLMTwxnYHVi6YW6QTzuefn fy6UTI9dHOwYmZGU66Swvlc8xyFRECDRVWD5q2z4egUkz8JphGmdFxpYPbmFZm+DrX/5p/weNGub4 8vNYETdUUdCiMY8DZWtIkz6EV7rU+VnHDsG9AVDXZe4UkHeEILQoL++wNk1jlrny7ObnPigkQspnV aU3EY5TA3Lc0BO4EeI7FlMt4YiiG94N6DfT2N1gUqVUZ2+zMw0KOcn6nFdm9yneMhVwWoy75TuX6u MUvuGvSbnUEkAtudG7PQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6ryB-004F7x-HO; Fri, 23 Jul 2021 09:59:51 +0000 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6rxq-004F11-W0 for linux-arm-kernel@lists.infradead.org; Fri, 23 Jul 2021 09:59:32 +0000 Received: by mail-lf1-x12c.google.com with SMTP id m13so1089362lfg.13 for ; Fri, 23 Jul 2021 02:59:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SpdYc3xSgtWajYNjziQJhjZECPeeHzOqtqZRcb4yQqc=; b=J4vXy3PkMvHxHdXmu8xSRDtPSWRGZj4bvC9RE+NDkeFb/PTCBojquyjxYoZngKBukS StiIvPkV6z3a4W0B8hsOOpPd56wDC4/LyODf5o51sUjkXGS3ucbtUeYTkr94FeLsZI9I d/R2VLKwJQK3bJWZQLXJSN6SLC9IZL6xwfLqxpqKB27esWapnkfxI/ZewCl9USmE1DTo kZb5/7oUS8YBZG820r03EGq5+fhpw5hGyE/Qt+x4QpGZ5MjPKM/SHl6GNiSaYRBBDAWC bljyLdTixfD+4zsprywxA0yyv73D4hssAtXXAZHB7zNeFMXzeqagJqMleKxY2ih80i8M 7oiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SpdYc3xSgtWajYNjziQJhjZECPeeHzOqtqZRcb4yQqc=; b=Xtfllu/BlUANF2wzDkEtT35mPbg+qbpt8DJhx9oZfbGovgH3+L5yqKCLdFw6UwN1iy uIJ1v9XWF8ssVQLF71EGV6MkZMS7SqY3X9e5xeClSkAm7g8Qg5FOcRlGkPK6GY6QG4Uz pEoKkFSELcWkXIekWpfffAXOLz9pTIw+KgNhiJkhOdnZT+HyGBkgP1KoBwe0QKJIjqBE itpbuCsoZ/jouZSZaeuSgDV7krPkcRiQJwCj1ZoJNTLmyb/+eI8N1HMAPtCThKhV+79w woEI1xNt+zJJczAuQfXm0nINXu6bybFhnHDyEEAyf/dn93e6GjM8kXs7T5CXH2TzrHnr XHYQ== X-Gm-Message-State: AOAM530lici3gFARDQ17tof1JqdINfO9LLYGdL1HPN/PwcmYoXiWRD/o 9iDbKnDFxvJFISJjpGd2hZrBowdrlrgPHkGeeqtxCA== X-Google-Smtp-Source: ABdhPJx7muHNH1C+xeS6T8GmAgw9HYxGXW+SzTbL9t3ZL9EWXY9r5EfsyJ1gcQxXWpZrxgEPKQxHcPJfogHCjHnb5R4= X-Received: by 2002:a05:6512:3f1f:: with SMTP id y31mr2589495lfa.29.1627034369078; Fri, 23 Jul 2021 02:59:29 -0700 (PDT) MIME-Version: 1.0 References: <20210712100317.23298-1-steven_lee@aspeedtech.com> <20210712100317.23298-8-steven_lee@aspeedtech.com> In-Reply-To: <20210712100317.23298-8-steven_lee@aspeedtech.com> From: Linus Walleij Date: Fri, 23 Jul 2021 11:59:18 +0200 Message-ID: Subject: Re: [PATCH v6 7/9] gpio: gpio-aspeed-sgpio: Move irq_chip to aspeed-sgpio struct To: Steven Lee Cc: Bartosz Golaszewski , Rob Herring , Joel Stanley , Andrew Jeffery , "open list:GPIO SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/ASPEED MACHINE SUPPORT" , "moderated list:ARM/ASPEED MACHINE SUPPORT" , open list , Hongwei Zhang , Ryan Chen , Billy Tsai X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210723_025931_118597_6085F5E3 X-CRM114-Status: UNSURE ( 9.30 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Jul 12, 2021 at 12:04 PM Steven Lee wrote: > The current design initializes irq->chip from a global irqchip struct, > which causes multiple sgpio devices use the same irq_chip. > The patch moves irq_chip to aspeed_sgpio struct for initializing > irq_chip from their private gpio struct. > > Signed-off-by: Steven Lee > Reviewed-by: Andrew Jeffery Reviewed-by: Linus Walleij Yours, Linus Walleij _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel