Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp5622063imm; Tue, 16 Oct 2018 13:14:50 -0700 (PDT) X-Google-Smtp-Source: ACcGV61SmUwrM51M9CHqhkPI31dnK+9B5+LFZtMDpMECxzWNtqqbbTlzeu1uLc/UYIErsHFLJkFM X-Received: by 2002:a17:902:3064:: with SMTP id u91-v6mr22480788plb.176.1539720890577; Tue, 16 Oct 2018 13:14:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539720890; cv=none; d=google.com; s=arc-20160816; b=ewtHGCPebape7OiA2G866GDhYFhER4QftqKrCGzXhHqG4zn9Vu+zVOZFGHq8lln/BF wkAMswbRWVL9bHFc+8+vT84WqDpX4GIu9/qp1jWFPEUkq7nNf9O79kCCJdHkygknxzWj VEtySvFW9zED27VYa1sifbmebehid4sg7mi8o/C/+vIDodLNIW4ODR5v/zY0AQyNoNop Oq0XlAkla/xnBEi9IvAVukV9mWWoACOc+Tq2VnGiqYTXNtqanyWatbgmVjMwjMLBd5eQ sBlopli2U8WR5fi/IF/xiR9k9tPH+AmZ4H9jVutMHNW5im+silUxI98VMFa80Oqq2gsE LAjQ== 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=zSEu6X7hWWRXraD4hyC9zqeiDYm2llfUiFc7cxK5bl8=; b=giumwV3IcdB/QGmELj0YOT21YhqbddW1Wpnn9IUK3OVAnqCt/rL3StckVBNTmQ8Oi4 +M85+16vhULr0BL5F8imhEshYhm+a783UYFD2961gk7Wa2rPMr6jUfALiLWkMcrMJhAG 63SYhcMseWhr7PXI/u9sG5rxjEoUed3NSFT1O9e+YxT2CcnQWOBnGbhWx24efbb+atf3 3WpQzcMB8y/VRpnK07x9tb3yrjEIprxjj/qnhBywklPZ259pnOV41ubDbEqthSgQKSmp UfPwy8uzm/nS7iXcRzzwzFpe9QpgLWR/4PyyqAhrSIZzUvJ5BpFNcrM9Ydvo3tYEAc+s uvWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Nu6FobEQ; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33-v6si8204492pll.206.2018.10.16.13.14.34; Tue, 16 Oct 2018 13:14:50 -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=@google.com header.s=20161025 header.b=Nu6FobEQ; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726923AbeJQEGR (ORCPT + 99 others); Wed, 17 Oct 2018 00:06:17 -0400 Received: from mail-vs1-f68.google.com ([209.85.217.68]:45248 "EHLO mail-vs1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725960AbeJQEGR (ORCPT ); Wed, 17 Oct 2018 00:06:17 -0400 Received: by mail-vs1-f68.google.com with SMTP id g201so19294939vsd.12 for ; Tue, 16 Oct 2018 13:14:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zSEu6X7hWWRXraD4hyC9zqeiDYm2llfUiFc7cxK5bl8=; b=Nu6FobEQTICCWAxQHA0ohrffBeNxfJkc9di8GcMbipLHkJcB9cwtxvtSXVjs2qtfmZ m7fvRMo+abyO5qusZ98sf3K8HriTXQEU59b2N0mMD/c5g+OfJ5n/jxO8GWPg9ctch+WB GyqZI7V+FyeBWv5jYgYCI/FHkJjew37n4LPj5LGcxwOoEBnCnSFJayjNFOQuxJa/4UH4 h/frVNe/dudo0d+hrbfEwdBIQT64Bn93ORSUR5Qy1vVpK+7m15jBkGY2ZpDT/L2U+ZvX vNdVV9BP3U0gm4vNNZncHjEdGTHXe6K0R8OLeCP3h+TfIQa03SafpY4+9RCDJA93bd7t VySw== 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=zSEu6X7hWWRXraD4hyC9zqeiDYm2llfUiFc7cxK5bl8=; b=l23q6YVfjiAQShD1TtvepxyJHvY51WUPQqJ2efbP+R8ylhdcbS0stsjYX+iY0pK8Ms zXYk3tFohUpEGQdiiMF1Op25HO+Ptj/hJcDppVDDr42Vg1q93vPMwJeR39BX8ixJZAvh HYJcNRv+4x6eArJPGr5jL7Uqpc4QeeRIKSIL0Gfi+RMXlecVOtkSxz7sakeEUtNFAqcM l0zAzmsouzYaDuxx6SRgyHy4ggEjGRfiyvmhI65I22rBkrfC0gqzCdLC+Bp5VCPvq9XX YK8pY6JM1uuJCMYthgAfYnGpK9vRcXIFNoVZTvs7ondQnRca3PI+noDqnnjLlQelYli4 LkLg== X-Gm-Message-State: ABuFfojwHn/YvdoQXGNQbMH7cvaY4703piD+ERbOl0gXqQ42vG2rHioE Yw2LnmYXjho1WQjmInktm+hfQ53OizDXwlgo+8eC4w== X-Received: by 2002:a67:7988:: with SMTP id u130mr7748972vsc.119.1539720852128; Tue, 16 Oct 2018 13:14:12 -0700 (PDT) MIME-Version: 1.0 References: <1539696848-21988-1-git-send-email-msavaliy@codeaurora.org> In-Reply-To: <1539696848-21988-1-git-send-email-msavaliy@codeaurora.org> From: Doug Anderson Date: Tue, 16 Oct 2018 13:14:00 -0700 Message-ID: Subject: Re: [PATCH] tty: serial: qcom_geni_serial: Add suspend support to non console UART To: msavaliy@codeaurora.org Cc: alokc@codeaurora.org, Greg Kroah-Hartman , Jiri Slaby , linux-serial@vger.kernel.org, LKML 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 Hi, On Tue, Oct 16, 2018 at 6:34 AM Mukesh, Savaliya wrote: > > From: Mukesh Kumar Savaliya > > UART driver checks for the PM state and denies suspend if state is ACTIVE. > This makes UART to deny suspend when client keeps port open which is not > correct. Instead follow framework and obey suspend-resume callbacks. > > Signed-off-by: Mukesh Kumar Savaliya > --- > drivers/tty/serial/qcom_geni_serial.c | 36 ++++++----------------------------- > 1 file changed, 6 insertions(+), 30 deletions(-) Looks like this patch was re-sent about an hour later with a different subject of ("tty: serial: qcom_geni_serial: Rectify UART suspend mechanism") at . The subject of the later patch seems better. I'll do my review there. -Doug