Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1996617pxb; Mon, 18 Jan 2021 05:44:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJw7HIEbXTbxtz2nUcUs/+oh5VtfXB/EeX2yjjTz27AJv+YkJzA7m96ktaKKKXsXDscRNJLo X-Received: by 2002:a17:906:bc5a:: with SMTP id s26mr1658007ejv.327.1610977463603; Mon, 18 Jan 2021 05:44:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610977463; cv=none; d=google.com; s=arc-20160816; b=P35lsK/ZNN8EqUe/jj4bL0WlWeAcENIvW5j2RY4JIANyDXUT/EnLqq9+0S0bCCZ2nY daRZZcqwAbPcowBr/J5b3ymEv+8i/85h9xiSTx82coYZEl03OmVuLWjltdSsYud50Efz GniFv3ba5XLmUP9uAGYiBg5ZrxlO4ct+b+7x/rh19eOqn7OtLxVxc1x+p9xJjOMzmraG h9QxAdu6/TKXzE8WHG9mzezEwzaVCA18/xOpyWVKNtTmPJBYkjeKKA7rdVMCaq5iveEN Zt5YA5+rDuTapN47xzCjBGHmd3sXuCcR0HbasEH/+aTBcUH3zxhZDlEK+NbJW2Pzu3Wh tXkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=7rCmnKzXpVa20gXpSfmHUH8NWDq8PYAlPBp+23NCeYc=; b=k8FylMnhNnXJHPRpWfb4L6s5KNCwhQ0NMWQrcNWxhqO6GVaDcrH+KW2/TQHwOK1lqI VKca8EurDmYF4TySNiDy4dMU3GXJeIIr0NdaslRaSFa6GCP+8AKKfL7LX927u/+6SZvL J7bkWV3vrMQiJ0XhcE+ZAjTdKNCrYdzkt87OUaGDx7iX6Ro2X7o6TgiOcRRH/PAxVW3T xVh6adNPsOHxfuKoNnrOJduDFFBQArSchJ6PuEK2KkkqqVklMaouP4YBf8UIkcghKlo6 9PJkE9W1r9Tr8ebz+9kMC5Ec25PR+x9wQn9N3ZfbPojGk+N4q+gvtjr8ptq6iUmxAQJo T/xQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=T9EUMNeI; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn6si6518902edb.580.2021.01.18.05.43.59; Mon, 18 Jan 2021 05:44:23 -0800 (PST) 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=@linaro.org header.s=google header.b=T9EUMNeI; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392299AbhARNlj (ORCPT + 99 others); Mon, 18 Jan 2021 08:41:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404660AbhARNkE (ORCPT ); Mon, 18 Jan 2021 08:40:04 -0500 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39BC3C061574 for ; Mon, 18 Jan 2021 05:39:24 -0800 (PST) Received: by mail-lj1-x233.google.com with SMTP id m13so18199346ljo.11 for ; Mon, 18 Jan 2021 05:39:24 -0800 (PST) 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=7rCmnKzXpVa20gXpSfmHUH8NWDq8PYAlPBp+23NCeYc=; b=T9EUMNeImUwwkD4WyDhF7Kk0NSaYLw80mFsxFto0JPp2Vj3wumv1RBBWA2bDRx0ctb gQ9m59tSyu6g0fUCewx6qmixqPDCNmy5Xvn1rmigxBUIJQSoMBim/f7GZY2YN8Sqq/8n ijo6r8uXig2cqictwngUdeqLU0rmWPK81JZi3UQ7F8mVvmPBAqQB93ETUbF4UAZunmMz r/l+LGZnCjtUpjTKvPiLBxMnllEjn7dxehkBDi0bWv8s2EB0qsgjMFUWAmjq70VKhb/5 bhcSA2oSOp0aiuu/cdOuMoxHhnKMCqMse84Ju78hLrx+1Y5cNf/gkos8xole5CpCRWI0 71Jg== 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=7rCmnKzXpVa20gXpSfmHUH8NWDq8PYAlPBp+23NCeYc=; b=IkuvSaSvfn7iFvomO9f6HWli4D9fWN6gnRTddekfVFOwnp/6XF/Pl+jW74ljWOoTjR yz5OoI0hpmFzw+7vdDNWMoL1W4DLwc/GP47CmLYBHJGHw6wbgUeRKYnrnBpWNoY0BK+V 7wX7lq++j8SvBIIv/tfyYJDGUy1GrqD/TLqwJKv4N37zAX7y+MmQRdz2KUi4tQYlXDBt 1OSj+so2pjRb99pRuE1egxDahSKAh9tuh7OpqYxMqzBS+ldKrXlD7rxquxq9GS2ZTtim TyDcgpJnc25885dKi+NZaq9hsOXQ70VsC7QAAbFI1xY6lNIk4qw1NZONBX1e7q8ut1Fi EMMg== X-Gm-Message-State: AOAM531Ra7poiXd5ZtYbMy2b3Sx+P7Fi+MvRlQukZlfPiq6aza1JcGQz UQQAikwEp+iRA9n9jhZDnB0GvV4uIUT7UtPxp5vO0Nc3ct4= X-Received: by 2002:a2e:b047:: with SMTP id d7mr10100589ljl.467.1610977162805; Mon, 18 Jan 2021 05:39:22 -0800 (PST) MIME-Version: 1.0 References: <20210112133010.21397-1-digetx@gmail.com> In-Reply-To: <20210112133010.21397-1-digetx@gmail.com> From: Linus Walleij Date: Mon, 18 Jan 2021 14:39:11 +0100 Message-ID: Subject: Re: [PATCH v1 1/2] gpio: tegra: Fix wake interrupt To: Dmitry Osipenko Cc: Thierry Reding , Jonathan Hunter , Laxman Dewangan , Bartosz Golaszewski , Matt Merhar , linux-tegra , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 12, 2021 at 2:30 PM Dmitry Osipenko wrote: > The GPIO bank wake interrupt setting was erroneously removed after > conversion to gpio_irq_chip, thus the wake interrupt programming is > broken now. Secondly, the wake_enb of the GPIO driver should be changed > only after the successful toggling of the IRQ wake-state. Restore the wake > interrupt setting and the programming order. > > Fixes: efcdca286eef ("gpio: tegra: Convert to gpio_irq_chip") > Signed-off-by: Dmitry Osipenko Acked-by: Linus Walleij Yours, Linus Walleij