Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5552610rwd; Mon, 5 Jun 2023 05:30:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4lM/5JQzcAFaGwNLdd/lvm+iGwQKNShjcmXrggfykSgPbKq7OILotZxzWPfd31PSXEA/49 X-Received: by 2002:a05:6a21:78a6:b0:ff:c184:7c76 with SMTP id bf38-20020a056a2178a600b000ffc1847c76mr2775982pzc.24.1685968259564; Mon, 05 Jun 2023 05:30:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685968259; cv=none; d=google.com; s=arc-20160816; b=tlLbavxNw45xuviQtKwx9wgkprrH6pbSJZc30ir3DNiTU0PXiYUiK25nxrCUJYOeSD XmQTEKVbKlBmq7H2VUvZ0/967xFqDKQFLf1phDg+sH1lO8asvksbAqByRWoWiNZHlWPZ U6NwT5KQ92gUuo9UKXBDPVHPE1PBlPmnP3PvrIDZCgYgPUXROpnDEfDaC51zIAuh2Fd6 5MO5nLIEYlX8UQW27as/WQ6Rmtx2qosWSuGIPatEzkXBSoiUSoULnxXtFUyksF19Qvis ezpN7R1t9xnhhrNTYthuvl/JykmVTBb//L0wU+FDNLE3IP01SEVXMlupxd37ccRAQPQK QTYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Xb4o8kPSgOND+L4Vboq73Dg9U1VrJLjkQgH48uYDhRs=; b=Eyu4FmOZZ0E1Mg1693GdZdIbQJihnr9Y56L5S2ZZG+EsoEEnxjs3HPASQKKPhn2Y1z E9OqqoFBGgzaYDbDbk+n5ssKadhBl+1QrHP1UDuvcXMKti8XrxhJg7smE/bpcluKaW58 hqkQ+eq7bXeYK77oaK2p0YnZJT/8DxWSZlkaWuvXeiAez1hBS9GczLQI8z/+KB3YNmiB fQC7LWOUuO+kh+Olj8r6HMAMeVKo/ySryFxfcbLR0yhNLEkFrvrT1BehpSBDrcZ63uHA 7c7jewpKVvIZzl3lpJFEZaiPknmT1b8gJjZHPh1/PY1TDgUS39+18vjWsk/v0M0NbIB7 sBkw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 131-20020a630289000000b00535f192827bsi5627173pgc.542.2023.06.05.05.30.45; Mon, 05 Jun 2023 05:30:59 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233381AbjFEMZR (ORCPT + 99 others); Mon, 5 Jun 2023 08:25:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233331AbjFEMZP (ORCPT ); Mon, 5 Jun 2023 08:25:15 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BE3F9ED; Mon, 5 Jun 2023 05:25:13 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 2D9F380FE; Mon, 5 Jun 2023 12:25:13 +0000 (UTC) Date: Mon, 5 Jun 2023 15:25:11 +0300 From: Tony Lindgren To: Andy Shevchenko Cc: John Ogness , Chen-Yu Tsai , Greg Kroah-Hartman , Jiri Slaby , Dhruva Gole , Ilpo =?utf-8?B?SsOkcnZpbmVu?= , Johan Hovold , Sebastian Andrzej Siewior , Vignesh Raghavendra , linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, =?utf-8?B?TsOtY29sYXMgRi4gUi4gQS4=?= Prado , AngeloGioacchino Del Regno , linux-mediatek@lists.infradead.org Subject: Re: [PATCH v12 1/1] serial: core: Start managing serial controllers to enable runtime PM Message-ID: <20230605122511.GZ14287@atomide.com> References: <20230525113034.46880-1-tony@atomide.com> <20230602083335.GA181647@google.com> <87a5xii33r.fsf@jogness.linutronix.de> <20230603054139.GR14287@atomide.com> <20230603063533.GS14287@atomide.com> <20230605061511.GW14287@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 * Andy Shevchenko [230605 11:28]: > On Mon, Jun 05, 2023 at 09:15:11AM +0300, Tony Lindgren wrote: > > * Tony Lindgren [230603 06:35]: > > ... > > > /* wait until UART in idle status */ > > while > > - (serial_in(up, MTK_UART_DEBUG0)); > > + (mtk8250_read(data, MTK_UART_DEBUG0)); > > In case you go with this, make it a single line. OK makes sense thanks. Tony