From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BD7E0ECAAD3 for ; Wed, 14 Sep 2022 16:49:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229533AbiINQt2 (ORCPT ); Wed, 14 Sep 2022 12:49:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229489AbiINQt1 (ORCPT ); Wed, 14 Sep 2022 12:49:27 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 539BFAC; Wed, 14 Sep 2022 09:49:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663174166; x=1694710166; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=uk216UOZBZ7fs12CPJjNVEA7Tpus72SHzZBd+iTcYm4=; b=El6bo778YmbmEURkh5YrlMnk5mXz0/mY8aYyWN9NR7M6nA6jCz3MzNC+ gLM/tdPBB4hXmrCn+Mn0lCp+YOThFiP37mre+2WYQ6LsEOq8WKMwhD2DH 7YirfAIxr6pgBGGNPcSdy0oZxH8yuVva9b5hS52j44+wQWU9Pr1f47QOR 0FjKi8jb1Hor/HSiBTIm9Uh1Nrls8W/ffhFhPPAgQ4vw0jUiaOhnQ03zZ hGsfwL0yk/gP6aWuY207umg3QUgjoSFGa8tq+Z4cT8aQHurPQMP5W4dyI N49kJP5fXvsW0wNN2BXNbE91jvJoFdHmmETWVvU0+kRo753i4hLGjv+cB g==; X-IronPort-AV: E=McAfee;i="6500,9779,10470"; a="285521275" X-IronPort-AV: E=Sophos;i="5.93,315,1654585200"; d="scan'208";a="285521275" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2022 09:49:25 -0700 X-IronPort-AV: E=Sophos;i="5.93,315,1654585200"; d="scan'208";a="685377793" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2022 09:49:24 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1oYVZh-002Ii4-1P; Wed, 14 Sep 2022 19:49:21 +0300 Date: Wed, 14 Sep 2022 19:49:21 +0300 From: Andy Shevchenko To: Greg Kroah-Hartman , Magnus Damm , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Rob Herring Subject: Re: [PATCH v1 1/1] TODO: serdev: Replace poll loop by readx_poll_timeout() macro Message-ID: References: <20220914163640.38003-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220914163640.38003-1-andriy.shevchenko@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org On Wed, Sep 14, 2022 at 07:36:40PM +0300, Andy Shevchenko wrote: > The readx_poll_timeout() consolidates the necessary code under > macro. Replace current code with it. The code is like I want it to be, but subject contains a leftover "TODO:" prefix, I will wait for other comments and will send a v2 with that dropped. -- With Best Regards, Andy Shevchenko