Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp21957692ybl; Mon, 6 Jan 2020 15:00:25 -0800 (PST) X-Google-Smtp-Source: APXvYqwL+M5OUk3qT2aVjxb2LUoNjVlPXdqgpPnz3F0ZUIQgezh30o+GUx+Ff34Hzzt149ZmqYYm X-Received: by 2002:a05:6830:1d7b:: with SMTP id l27mr23212589oti.251.1578351625437; Mon, 06 Jan 2020 15:00:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578351625; cv=none; d=google.com; s=arc-20160816; b=YKHXskZZpFSPXb83iVu9HfzgJvTgZkQMJA2yfIJcVIx4rW4+Kt5Gp3hIxKjIA7AKTH Sv6a3q1QHP6woHKs9RVyztkSCN37Ql+bdCn2w/UQ7UEvaJFtSxPExt+N0OTeP9TmiLgK 5HGJTqf/AEpulL1T8EWYj4EuNVoH06nRaMOTFdoQeKjcyRPf01DYSt+t/wuU7DpuhzmY Sn6J7zAUeHseSJ6KRKU1/XKmPwfsQsQUzN4w85RW0E54Ukd/QDthVhlKYGgZDol9YRTw 6IaqoQBf79lo3BhilYSgBIaLDLSxiwBscetVREpLHhCG3k5vM3xryFpDmfLkaSLksqey OAxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=C0KNG+0OExH+PgE3Je4nnY6Td9Ccw4KBccd9DW70NKo=; b=PfaaZtwIOPp/EKSDg3b09CLMsioSCOcFg1i+zYO1wIZlWX33KZGIFmveR7ouFcePMV 5bQXDX+0xcJTry9p6TPki5rTzHXeXwBTFxTDdGqbw6sIws5OU3LGg6ESjOKXJt+OnyhR cwqb+W+bjYNWVodye0ce0tt9OVm0F9g6XkZVR8K/IOoxIOfvCvIwf02wEcNwQ6gIUw4L x6KMsoKuZ0Z8xFAd3+DR1BDdewGZsgnXbyiL5wHld8mnITK9bV4ntg89+hd0B9DgH+/2 /jHW591tpxj5BKa7sFfjHvvRc2ukANX/atxI9Mje6VG+YXwMxI7zS/tSU7lhC4OtTS3Y FO9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F1W6FrjB; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q131si22289363oig.203.2020.01.06.15.00.12; Mon, 06 Jan 2020 15:00:25 -0800 (PST) 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=@linaro.org header.s=google header.b=F1W6FrjB; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727316AbgAFW7P (ORCPT + 99 others); Mon, 6 Jan 2020 17:59:15 -0500 Received: from mail-lj1-f194.google.com ([209.85.208.194]:34731 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727300AbgAFW7O (ORCPT ); Mon, 6 Jan 2020 17:59:14 -0500 Received: by mail-lj1-f194.google.com with SMTP id z22so47852785ljg.1 for ; Mon, 06 Jan 2020 14:59:12 -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=C0KNG+0OExH+PgE3Je4nnY6Td9Ccw4KBccd9DW70NKo=; b=F1W6FrjBpZ29K0G9T9CoWndO9TPARRdTZkCrQ+TZ6DnirL28X/Ao01Xngla2oAx8aD wZg6KYQYKH495KPdcHL0gPBqyRskLBesIDSTE2LPxinAoggI0DaNjYwa6+9jREEcZgZW qSm6vVsfwPwEU+8R2hR9CdCbg1FILYS7Y85J0xzQbXGcGanAZ6VUxW6/JvhIPDPQIf+y 7VWfuWdwEEL4LQV5mals5C2khcjyQksim3mb2q/O5Qt7Df3ojZbW8A90z+ROMB/hjTzW kAgoeDeN5DHHqv5zQSJ9m7pMwOMWBTjjssM5TxjH7MILgz8N6clZFh/F+CKbj7y9cQc5 6AHg== 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=C0KNG+0OExH+PgE3Je4nnY6Td9Ccw4KBccd9DW70NKo=; b=Mx3dqeprUi+VRPhrYhPxZr3TGfQ5w1eGbYxcTy6Mc5ChZpN2o9LodrYXiM0YZFyA9K HD5kVWdkeg6J2NsIkAUKJA97ggCSYcRfiRDCBIlRLwQluWOmbZCJXg6tWw+SqzqkJJa2 YudMLIS5djrV+ks76b5+OHZgspm/oEvu2XXa8EdQnHzwdjH+SDCgBCdKYgAXrPCAM2Fe WohbvomeI12eph3aL4Qv8OigVJS1Ce2t+letA2MHfdCl6BGK+sIjzFA4OBDZ5TidrBbs pAHvsZTB47WQn9RsSRb2TcqC6OrqwqE1AaKMyserygRT7+Ifs7bnxb46wnHmsS/0b0pM 4CEg== X-Gm-Message-State: APjAAAWXD0Ydb0zy1ivbgM+uhlxwpwN9f04Zed9Kkwx1m9QcAZODOfdT S6ByHhQitq4+FqF94GJZOuXMwnTK/VtygrmOQK+LOA== X-Received: by 2002:a2e:85cd:: with SMTP id h13mr59765545ljj.191.1578351552102; Mon, 06 Jan 2020 14:59:12 -0800 (PST) MIME-Version: 1.0 References: <20191215183047.9414-1-digetx@gmail.com> In-Reply-To: <20191215183047.9414-1-digetx@gmail.com> From: Linus Walleij Date: Mon, 6 Jan 2020 23:59:01 +0100 Message-ID: Subject: Re: [PATCH v1 0/3] Tegra GPIO: Minor code clean up To: Dmitry Osipenko Cc: Thierry Reding , Jonathan Hunter , Bartosz Golaszewski , "open list:GPIO SUBSYSTEM" , linux-tegra@vger.kernel.org, devel@driverdev.osuosl.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Dec 15, 2019 at 7:31 PM Dmitry Osipenko wrote: > I was investigating why CPU hangs during of GPIO driver suspend and in > the end it turned out that it is a Broadcom WiFi driver problem because > it keeps OOB wake-interrupt enabled while WLAN interface is DOWN and this > may cause a bit weird CPU hang on writing to INT_ENB register during of > GPIO driver suspend. Meanwhile I also noticed that a few things could be > improved in the driver, that's what this small series addresses. > > Dmitry Osipenko (3): > gpio: tegra: Use generic readl_relaxed/writel_relaxed accessors > gpio: tegra: Properly handle irq_set_irq_wake() error > gpio: tegra: Use NOIRQ phase for suspend/resume All three patches applied with Thierry's review/test tag. Yours, Linus Walleij