Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1053301rdb; Wed, 24 Jan 2024 03:34:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IG+3UW7DhH0rku4Iu9BocL/wOOrVYyDgsl17pQ5hDFpyHFhDiujgrqceuHchGSm4sTqLatj X-Received: by 2002:a05:6870:468f:b0:214:448f:e1a with SMTP id a15-20020a056870468f00b00214448f0e1amr3140723oap.66.1706096085128; Wed, 24 Jan 2024 03:34:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706096085; cv=pass; d=google.com; s=arc-20160816; b=q3ZPD8L6SXQ3rQr5lj1iWxYO87MY6vlgTbLU5t6lJd6AmYLCbt8DDyWtWxmJBWMbR0 LNW+JoBZozNirYyISiGxZ+JX6j3rbp8EoZHFBo4Vkm4c7p2HnT6aJZ3MtCkSsHe1ZpX1 SM9CiBol0hGWMA8ohphV+WqZPoIoasF7skMdZmEn3JaOtzA6d98ZzB7d4AQshV49Xx1J KlgGGv6uJ2erasbRDsh98pm/913VNeZ+nvEggkJP7caXJP2/+4WL1Yus/sRjPqvE3gsK OVjAtCg0lu2iJdifCsDNZ6Fx4z5UOGUll3QHwq8RAq+7D0mLSjRK5eNZ+mt4c1uQ7ME+ 1/GA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Nuu5pfDsxpWyiexGbs0jpfyR5a3ackAw/VZy6NSnBKY=; fh=zjrHJDYvCadIgzeaoIjA+OXNzrYynQ6TQhR2GqM7XN4=; b=zrubn9UBEbdpRXyPq0ZyYrouC6cX3NIcspcoQUQalygbh1Vu3gg6aM98mgSRBqUxKY 5pc58cBDTLZNSslAzJoG8Qc1afn16EgTWd/Shh4PZTuqJFOI7OsXnoJOMfV6A5laPBAS 4s/UgvuIig1pe+jsV0ulvkyJz3G7uEZKYXZLjUsqizP/QCg6xDpBy6ijOFudAhg1qPMp ArvttleGz7lvmOAObpV1sFx3roTDUtX2AxSeNtAiXJ+B2rnwUkdNEb6KQFzAEknA2VCb zr5+GW4PmZW2YfgnTPtFxpJrPfov4Bv/JhKyfzBC7Ij7KUIPSLHIeBImAirpUsF+avBu GKTg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=DK6Ytl6N; arc=pass (i=1 spf=pass spfdomain=opensource.cirrus.com dkim=pass dkdomain=cirrus.com dmarc=pass fromdomain=opensource.cirrus.com); spf=pass (google.com: domain of linux-kernel+bounces-36825-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36825-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id h36-20020a63f924000000b005cec620f0a5si11579425pgi.487.2024.01.24.03.34.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 03:34:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-36825-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=DK6Ytl6N; arc=pass (i=1 spf=pass spfdomain=opensource.cirrus.com dkim=pass dkdomain=cirrus.com dmarc=pass fromdomain=opensource.cirrus.com); spf=pass (google.com: domain of linux-kernel+bounces-36825-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36825-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id F3E6EB275D0 for ; Wed, 24 Jan 2024 11:01:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BB54E1B5B3; Wed, 24 Jan 2024 11:01:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cirrus.com header.i=@cirrus.com header.b="DK6Ytl6N" Received: from mx0b-001ae601.pphosted.com (mx0b-001ae601.pphosted.com [67.231.152.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 20ED81B59F for ; Wed, 24 Jan 2024 11:01:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=67.231.152.168 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706094093; cv=none; b=HWlQ5snnRiS5b+B6pKbn2jGClvlp4jP7comg6KHcyMQ2vUdSk4ApaCFrUNoFJ9o6fK0zjdJTryJbaGHfQ0MxwMx/Ow7f1SqeVc9RjS4PEh25znJdZy2nscCBwVL0ajNE7LGDc0StzGIYKV+aCJkud7E4BtVpD8jPTmlPuDoGc+M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706094093; c=relaxed/simple; bh=nXjQm9pxB4OBi7P7cQxdR6tOb1Xaf8tNG19Uf9ztXJc=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LRaniC9srcfU4IUOnvOZ1VzLkroqFsP+F+3cae6J6e2e7KuS9ALM4P3GChL6exR4vnlNm1R6bauzcey8T+wx46dTws7USbeO/04NXyoTLw750xDbPLlzqV19HSeFRByX94cTawwgR28UPRHS2Uj8O6uinfOzG3wFypkmM3rdcms= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=opensource.cirrus.com; spf=pass smtp.mailfrom=opensource.cirrus.com; dkim=pass (2048-bit key) header.d=cirrus.com header.i=@cirrus.com header.b=DK6Ytl6N; arc=none smtp.client-ip=67.231.152.168 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=opensource.cirrus.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=opensource.cirrus.com Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40O6RXoP022084; Wed, 24 Jan 2024 05:01:22 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=PODMain02222019; bh=Nuu5pfDsxpWyiex Gbs0jpfyR5a3ackAw/VZy6NSnBKY=; b=DK6Ytl6N4/+X/5MM/G1urTdYelG0JOM AWJ8Phn5K5e3vjamvGKGoeGLNeoDTR8SzbhlujoHl+4jieMzrq8z6GbHzCF6RQKU lZlDrNNV7WO37R9jtqqzJo23Ei8Nw4wE5LBr96KCn0UNjv5HaMV02qm6Fu+1hNBH 7UIZ9ow6NDhZFg+/cia75j+Vel340+gSvwh/3u/X5tiuEeWTbmphnI2vdKi7eaQW ddTf/ygEt3OO1etQcQm6TOI3D7qlrsJQjhzCY7MbESSnjo1Fj9mRc7LDUN4D4+fO EuLs6xALo/WsZow3rrzYVLAAujEbFW2ESZpEfEInCUZ3eYZ3r64/ihA== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0b-001ae601.pphosted.com (PPS) with ESMTPS id 3vtmf9rpka-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 24 Jan 2024 05:01:22 -0600 (CST) Received: from ediex01.ad.cirrus.com (198.61.84.80) by ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 24 Jan 2024 11:01:20 +0000 Received: from ediswmail9.ad.cirrus.com (198.61.86.93) by ediex01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40 via Frontend Transport; Wed, 24 Jan 2024 11:01:20 +0000 Received: from ediswmail9.ad.cirrus.com (ediswmail9.ad.cirrus.com [198.61.86.93]) by ediswmail9.ad.cirrus.com (Postfix) with ESMTPS id 82180820243; Wed, 24 Jan 2024 11:01:20 +0000 (UTC) Date: Wed, 24 Jan 2024 11:01:02 +0000 From: Charles Keepax To: Maciej Strozek CC: Lee Jones , , Subject: Re: [RESEND PATCH v3] mfd: wm831x: Remove redundant forever while loop Message-ID: References: <20240123154259.81258-1-mstrozek@opensource.cirrus.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20240123154259.81258-1-mstrozek@opensource.cirrus.com> X-Proofpoint-GUID: IiLjbf_8iiZgVZMoLOZE11uHWRLeclmh X-Proofpoint-ORIG-GUID: IiLjbf_8iiZgVZMoLOZE11uHWRLeclmh X-Proofpoint-Spam-Reason: safe On Tue, Jan 23, 2024 at 03:42:59PM +0000, Maciej Strozek wrote: > Current code excutes only once despite the while loop, so remove the > loop. Also msleep(1) will likely result in a larger sleep, so increase > its value for clarity while keeping the same behaviour. > > Signed-off-by: Maciej Strozek > --- Reviewed-by: Charles Keepax Thanks, Charles