Received: by 2002:a05:6a10:83d0:0:0:0:0 with SMTP id o16csp52967pxh; Thu, 7 Apr 2022 13:44:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbrparbZSJHaKai6bRLizkjThebLZ7VFeAbcgzETlpRhTYRQHRYIvvh+VZpa3PYL3zQ2D/ X-Received: by 2002:a17:902:e541:b0:156:9cdc:e6ca with SMTP id n1-20020a170902e54100b001569cdce6camr15672771plf.2.1649364261988; Thu, 07 Apr 2022 13:44:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649364261; cv=none; d=google.com; s=arc-20160816; b=elrQDMSal6plcFn3G80FwjSB5VST/V6xiZcDLufBM/NDXWum+8ePx/YYHDz9J5q0sB obe+jv6yXjqI2rU8m+JzbWQMXrOgrokZz+/C9HfEQ7YrLNwidfX/WdgnHI99BPw9An8z JN/KrpQyVV3PL36BnTLd67ZjIntduF1v7AdGYieWnCD1zNfhbFVIT3BKNWtlNaeVjOaG 5MqUhtDBmTZhKdbBreqhjovSxFhg2DHHcy0Q05BmNEBVFf4JEQ/srProrRg2RgT0Z+0d S+JD/UPcE4bpyRLHVpTy5GMHgePPh7x0IZdoSbB+qM+MMyDrCehodHhxu3NmNKcKydcJ 46Qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=SfW0PB3PoXJl4iM7JzyrzxH/sIrHMQsvMA9ZfOmqvCQ=; b=psc7MsjkSsgDVWFIgbTGOIQ0G49jlnWR2FIL+EZBDP9rEeisQcazKlryeIf2Yp8GqF QK+zflSMTZHNcUH+NHSewp6DHkVQ5Kd4ykp0jXoGsgY7A6gJe4G3XsIhHVDv42cxaNPe SRCXJPG7RxAIb37HbCeexrLtKYPU7JTXEh0XuqQEGieeE4+h6OwKoky54Hm9bweJKpnm VU7dOL3mte3buI8nXC7GzwDjjPc0xzNZTO0KVHmZJBPwieVg7YxA+1iZ9Cl7OIepkH44 SIxLJm/PzVdmAGQA1qKmKq1IVyBQTXu7t85zy4hPBQAHi9wxpn6qwPxhLo8zLNpLC5ox N4Ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=ecWd7VO9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id y21-20020a056a00191500b004fa3a8dffc8si20859835pfi.127.2022.04.07.13.44.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 13:44:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=ecWd7VO9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AF8A8276FB4; Thu, 7 Apr 2022 12:53:18 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231582AbiDGH2m (ORCPT + 99 others); Thu, 7 Apr 2022 03:28:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241939AbiDGH2N (ORCPT ); Thu, 7 Apr 2022 03:28:13 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4552E10FE4; Thu, 7 Apr 2022 00:26:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1649316374; x=1680852374; h=from:to:cc:subject:date:message-id; bh=SfW0PB3PoXJl4iM7JzyrzxH/sIrHMQsvMA9ZfOmqvCQ=; b=ecWd7VO99J+TAF/ueq6gL0JR+u9rKsZXKGJ47i2elglx24iwtCcfxBK8 x3QTdA/u3FrPIXVSAv5EshnpX2MA1VKAZgA4nitHZjx6xjeyZHlXfAXjn V60LDRpb5i9ll1qROtHi1YyxPIQY6sBvYBiIp1Dp1LMRpT2FX7bA5WviB 4=; Received: from ironmsg08-lv.qualcomm.com ([10.47.202.152]) by alexa-out.qualcomm.com with ESMTP; 07 Apr 2022 00:26:14 -0700 X-QCInternal: smtphost Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by ironmsg08-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 07 Apr 2022 00:26:12 -0700 X-QCInternal: smtphost Received: from hu-vnivarth-hyd.qualcomm.com (HELO hu-sgudaval-hyd.qualcomm.com) ([10.213.111.166]) by ironmsg01-blr.qualcomm.com with ESMTP; 07 Apr 2022 12:55:58 +0530 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3994820) id 9E8433B72; Thu, 7 Apr 2022 12:55:57 +0530 (+0530) From: Vijaya Krishna Nivarthi To: agross@kernel.org, bjorn.andersson@linaro.org, gregkh@linuxfoundation.org, jirislaby@kernel.org, linux-arm-msm@vger.kernel.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Cc: quic_msavaliy@quicinc.com, dianders@chromium.org, Vijaya Krishna Nivarthi Subject: [V3] drivers/tty/serial/qcom-geni-serial: Do stop_rx in suspend path Date: Thu, 7 Apr 2022 12:55:50 +0530 Message-Id: <1649316351-9220-1-git-send-email-quic_vnivarth@quicinc.com> X-Mailer: git-send-email 2.7.4 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org V1 patch contained additional unrelated changes in vicinity a) replace hardcoded flags with macros b) perform voting before calling resume_port in resume sequence c) consequent to b, swap the order in suspend sequence as well These will be take up in later patches after this one lands. Thank you. Vijaya Krishna Nivarthi (1): drivers/tty/serial/qcom-geni-serial: Do stop_rx in suspend path for console if console_suspend is disabled drivers/tty/serial/qcom_geni_serial.c | 4 ++++ 1 file changed, 4 insertions(+) --