Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5483020rwd; Mon, 5 Jun 2023 04:30:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ57MeUlT6ManoEKZ9eFnE0/8weK20YMaSz6lMNOarMsKJFLYBPW0WR564IPVna+K9iWjJtk X-Received: by 2002:a05:6359:a86:b0:129:cbbe:5984 with SMTP id em6-20020a0563590a8600b00129cbbe5984mr1364314rwb.13.1685964627934; Mon, 05 Jun 2023 04:30:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685964627; cv=none; d=google.com; s=arc-20160816; b=0E/KdE/53TW0+NDpMCZ2FDaibPAjHNsWO2g7RIWmxIzeF1A1AZ7H5seCpQP7cOB66H jnlT4pJdi98VZ4Qep1ogV9ly+1YAUsmqXWOBHShg01R3ieN4BInygEEemsWmFb1IpEYM W6o6FRSZtcD9NwJe2tOYQse1QmTb3AAs5UScKmv8JrlWC9z9pCpwRoDgMIJ2uhy4I8QO RPn13L2TZxNCZgrwIWnIUFo2aoGo5ifbvUQXEo+yVie+3yGjGH/3coj/eLmKCocljM9S gr6DvopRKhRFkfaA15LE8Q4QL7eaEHP3sntkjXwe+zMS+IW/sTlWe7Ir779+hEQqoyB2 cbpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=7tK+7c1kdGRjqP1Mz7EpfiWX02vfym15PqmGkANGsoc=; b=TC3pR0EeXYGZk3yWlRPXJd0NIovdZQuG1st2c6+a+TS/S9HnyE0BdICNxHIGwUnMWw jbwXsQL+HMB9vb114cxeyeXGs2kkVz8RG2W1wNo0e1hM0ukROaYJLE2n429sXOBKsvBj hwr6u7LpkvcgzzF7b+qL90D/DAx2wkrqTgT9oLuvKYxzlS8fzR8xwZ6a/pR+uOZDrtFj 0YXBRSuUGfcdooKPUxJZ77swMJ39Osbk0Ryt5BbSFbzGSzOCKsIwCv4qNfnbb2gGNxhm FAWnKSUFo1Pt/wcSVhcq6pbM2I+dl9hGlTlRXuJkdcGaGrIpXS4+gxJafDP6wLb6sYD8 LBIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="PJ2/ODKe"; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cp21-20020a17090afb9500b0024e1eed547esi3730835pjb.96.2023.06.05.04.30.09; Mon, 05 Jun 2023 04:30:27 -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=@intel.com header.s=Intel header.b="PJ2/ODKe"; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231723AbjFEL2T (ORCPT + 99 others); Mon, 5 Jun 2023 07:28:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230197AbjFEL2S (ORCPT ); Mon, 5 Jun 2023 07:28:18 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7C45B8; Mon, 5 Jun 2023 04:28:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1685964497; x=1717500497; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=MXpuxIdlezOpRNLUw2sZPpBNzgzkQEchFs7aHBxowmQ=; b=PJ2/ODKesV5gfy8MFduRG9CRlbshDIK+yiCgyL2xV62uvKON6RawXJxG XH5d74hAqMMQ2uV+QqbqYnqaO1E9bSL/z9PHxiI7cBzf0LBAD8NFhcl9d hoA/8sy9hZkmfDxWwAdWGhjOqRjjzCDUkiA7QAFXrYC1awTduQO69zAV5 psyNs0xdCznr49iUSPH953NUao5N9NsmOGb4/IDtKry/d4Ttvwfa7VAG7 KQwdzPd98xFOI4Q/H5lXuAFAiJhspk0zG2y64Jjt4KnE1PAz+ZXExxQ+y tklfw1hNSoCv4faPLIUUrxc2cF29khlqY681BOjYfZ5wxvG8fbjTjwS7H w==; X-IronPort-AV: E=McAfee;i="6600,9927,10731"; a="335961974" X-IronPort-AV: E=Sophos;i="6.00,217,1681196400"; d="scan'208";a="335961974" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jun 2023 04:28:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10731"; a="821158038" X-IronPort-AV: E=Sophos;i="6.00,217,1681196400"; d="scan'208";a="821158038" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga002.fm.intel.com with ESMTP; 05 Jun 2023 04:28:09 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1q68Nb-001MH3-1B; Mon, 05 Jun 2023 14:28:07 +0300 Date: Mon, 5 Jun 2023 14:28:07 +0300 From: Andy Shevchenko To: Tony Lindgren Cc: John Ogness , Chen-Yu Tsai , Greg Kroah-Hartman , Jiri Slaby , Dhruva Gole , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , Johan Hovold , Sebastian Andrzej Siewior , Vignesh Raghavendra , linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, =?iso-8859-1?Q?N=EDcolas_F=2E_R=2E_A=2E?= 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: 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: <20230605061511.GW14287@atomide.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,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 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. -- With Best Regards, Andy Shevchenko