Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp1951882iof; Tue, 7 Jun 2022 15:19:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJypNviq1F4C92NEA1+GUKcSqVf3+ujIJVAmk+AkppYLbXE8p7rqrXuM9kiuY2bHxiTIs0rS X-Received: by 2002:a05:6402:1941:b0:413:2b7e:676e with SMTP id f1-20020a056402194100b004132b7e676emr36644801edz.114.1654640350602; Tue, 07 Jun 2022 15:19:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654640350; cv=none; d=google.com; s=arc-20160816; b=cCVl+BOCV2s3J4jUK55cFaP/sNFSG6AKOOlQTkgTNOM+Hzb6OV8T/E732MkU7FpdTp r/bVwTmb66lCKkDkgtStC0T3dAnxyglgSnzqk2sxGQBMBDZ0Q5M6wwtCP2PDtCvH0xUt yaWKgku1bKA7CgWMYXURVh+9j8OvPOu2q9iiC7Z0PjWoF/oPIuDvdAVz51+twk02QhwB EjbTg7tloXrmR1oNOEQBAuHehHbkpzFFCP2oSVjJivW0MGt3lpn/OpMl46+fwwiJ6tWQ F4dnQOZ09bY9G/JWMnBJuWSIDv9/8D/x1E8pOGLBiqVR5hHpe+B/YP/OGclz+wFlBkTx LxuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=B/QLFtyjZWjzsp19lvnKhc+TE8eim40eLeEgUFfICJY=; b=cohH0SBC9sBNoznrJkKBiciHn3aS4GDjja/dOCMEaoj/I4EJu9j1PzwXXvcMEzqOD4 6naeKAJiOrsxCvr8vv322eRL8r5+ztINeefBej6uaesjxctxxke15lzWXsCKU/zebCuX y7nf/QAjVa4gHbqWuA7M19v+1zSePGMUxPdHJPq9dlebEroK4TcdKDWddAenEZjjJQTq T3Los5S4XeJu80u4mz5RQHQVrznrfdQU8TQHuKP9SXUcY2OYdERkh5hujDRsQBUtmXrC V0JoEVIp4mTyWvA79W8CZmsgU4oVwev8OU3lmyZY1vcy6Dz5uXdf99U5g8Vte3obK6Tc FMQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b="JM/CpygC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h20-20020a05640250d400b0042dbdc55828si1026935edb.403.2022.06.07.15.18.33; Tue, 07 Jun 2022 15:19:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b="JM/CpygC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1384775AbiFGWQO (ORCPT + 99 others); Tue, 7 Jun 2022 18:16:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380111AbiFGVLa (ORCPT ); Tue, 7 Jun 2022 17:11:30 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40281217890; Tue, 7 Jun 2022 11:53:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1654627994; x=1686163994; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=B/QLFtyjZWjzsp19lvnKhc+TE8eim40eLeEgUFfICJY=; b=JM/CpygC8Mc8T2HvdJSdvO9m8XsMLblKotJQ/vLKK/1NBfSZZ8Un+ME3 UTDAdJBXaV/qEcbx0PSANR1FiLPrBaIAN5fpT6rmhXGSy78R+lYuClQL3 ulaZvLiHfJHKgpx6v+hgP8oJ9XQIDb0vohHtBvyQTfxtlBMaDyxNbP3+/ I=; Received: from ironmsg07-lv.qualcomm.com ([10.47.202.151]) by alexa-out.qualcomm.com with ESMTP; 07 Jun 2022 11:53:11 -0700 X-QCInternal: smtphost Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by ironmsg07-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 07 Jun 2022 11:53:09 -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; 08 Jun 2022 00:22:53 +0530 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3994820) id 957823F74; Wed, 8 Jun 2022 00:22:52 +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, mka@chromium.org, swboyd@chromium.org, Vijaya Krishna Nivarthi Subject: [PATCH 2/2] tty: serial: qcom-geni-serial: Implement start_rx callback Date: Wed, 8 Jun 2022 00:22:45 +0530 Message-Id: <1654627965-1461-3-git-send-email-quic_vnivarth@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1654627965-1461-1-git-send-email-quic_vnivarth@quicinc.com> References: <1654627965-1461-1-git-send-email-quic_vnivarth@quicinc.com> X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 In suspend sequence stop_rx will be performed only if implementation for start_rx callback is present. Set qcom_geni_serial_start_rx as callback for start_rx so that stop_rx is performed. Signed-off-by: Vijaya Krishna Nivarthi --- drivers/tty/serial/qcom_geni_serial.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/serial/qcom_geni_serial.c b/drivers/tty/serial/qcom_geni_serial.c index 4733a23..f8f9506 100644 --- a/drivers/tty/serial/qcom_geni_serial.c +++ b/drivers/tty/serial/qcom_geni_serial.c @@ -1306,6 +1306,7 @@ static const struct uart_ops qcom_geni_console_pops = { .stop_tx = qcom_geni_serial_stop_tx, .start_tx = qcom_geni_serial_start_tx, .stop_rx = qcom_geni_serial_stop_rx, + .start_rx = qcom_geni_serial_start_rx, .set_termios = qcom_geni_serial_set_termios, .startup = qcom_geni_serial_startup, .request_port = qcom_geni_serial_request_port, -- Qualcomm INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by the Linux Foundation.