Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp284738lqp; Wed, 12 Jun 2024 01:08:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXlxKlhteI4JBHL/OtIPzGprY7MVDU+Tuq3rjhwyBXww4uYqHcSjhii7ecrsTEUwo49aGTjDkql8YeeNEQoDad5ZUG7Zluxw1qLWz+Xjw== X-Google-Smtp-Source: AGHT+IGtXLlGsAIvEHCzYsoTMD9aZwuoqVm+Qpnt/2SR9HIyAgYwH7MAegv3aLGnOrVBKPYkKLBN X-Received: by 2002:a17:906:1b0e:b0:a68:c744:725b with SMTP id a640c23a62f3a-a6f47d365e2mr50832966b.32.1718179728351; Wed, 12 Jun 2024 01:08:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718179728; cv=pass; d=google.com; s=arc-20160816; b=ylqNg4YS/AtInqIkOmrIfg2W6ENxt+kaopTac7zVbMnau5Wyqd7tpT5z4t4f+Q0Y7s 3GL3PEB7fYKFBzr49kdVll0D7G4wS8QN3Z/RSvbiE+1p6YLojNGIv4ilVQPBcLtVsB3g oPTmJidPUyxZ1xKw11dzfGKYlGbQDstkaOb0rm4GK4YUDaVl5FJSFxSr9nwLx94CHzDn bQF++SaQhiYiALJ54/39D+cGTIHgqcGGD5V51wwrSLQKnDGQEUMDh7y+Tjzoj4LBd8ZR QGqm0Te773sH8S7f9Kpq0JjJl/EIOGCAgNzWyLoztiHF4Oura+LLkIQPMVVvXWURYh2Z Xtgg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=O/NUPbIh6KH2M0kCYkMVAfLrTd49vfN01minAiZapEM=; fh=kGfQ00z0nYQ87kgAKrwfZCIO24lkOPuirCNdO6ovcY0=; b=JqECfZotPLtD5juF1UqK8cjRmSShIIjV7XRmdDqLxrnMOJCIp9+1nkrUlHN4TZw4E6 H4vc35yNkYJGrS7A9sKSbBLVBodh7VznJGHjm2s7f7Akt/mJsWOiJKOSKTyuoQgpWB0E pJT9DIsf1F6ZvLGmO7UgE5FdTeDJckhfi9/0hN8m+A0EMG0AE5FKFH9eYGDjV4nTfJoG XrkQQAmvnKLxg8lGdQqCioS6DnO/Zbs4DyNh4jF3k7cXieMz0Yu6/wpEYkx6bDrZdNsu EYTrWF85y9IttDsmKA2wzB5d+d6ErHiW2q9SIawn4j694+gnuaFY+k15uTxlPMlWSMDZ VJ6g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LQ0Jr4zL; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-211142-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211142-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6df16c06d5si534256466b.791.2024.06.12.01.08.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 01:08:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211142-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LQ0Jr4zL; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-211142-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211142-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id C65C01F21D36 for ; Wed, 12 Jun 2024 08:08:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9447B16D32D; Wed, 12 Jun 2024 08:06:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="LQ0Jr4zL" Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4732C16D304 for ; Wed, 12 Jun 2024 08:06:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718179595; cv=none; b=tjB2GNjEhrfNsLgxa291eAevr0ZZMqU+f3gmtPZcEPqjDSyGiUU4iCibyuGeP7ph+h+ROOP32VFBq+KiymThxg0a9ee/U6hcIwYwQKEVNcpBuahUpCANJeSffH2vrpaF/maGiqNRZDAbcX9MROhidEjlxOkD8R2Ma+SoYBUiz4M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718179595; c=relaxed/simple; bh=Hp+wgixUjXcH+0cXMe0p+8KZqim/yUUJ2Z/8XZttkQk=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=LIRVKVKsZbB+sfY2YQrBtT1klUZ1yAl53W4a0EPyd0IV80Ka7bHPaJfWmNImhG4AJS1sK61s6erKB0+w/66TQ1p0pEep2hyH7kVf4lzE9fWQLypnTP4x/joxk5svCf5iE1KKt3v3fpEU3ku4ABzPyYEahwD2qWfcnWXZT78UJTg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=LQ0Jr4zL; arc=none smtp.client-ip=209.85.208.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-57c72d6d5f3so4908774a12.1 for ; Wed, 12 Jun 2024 01:06:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718179592; x=1718784392; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=O/NUPbIh6KH2M0kCYkMVAfLrTd49vfN01minAiZapEM=; b=LQ0Jr4zLx38ZT+upm+lHPYzWZZdxgqJ5gk3+Bx7G6VkZg2vzu7dN3EJ+1/BupHJnGy cIu6W3W+dqDLffH8VH3E3DO74tccPS3CVuI9stbeahAfxfSMZPtPgXdzDJ6aA0d5c4p5 /6T2V0VVu2xzLPXe+vPvWNfKJ3ZZtj/wXyzSXUfrQ2bQl6Ry2o34ZkBFm54r/2SrcKNZ C856y/hINUeX2fJIAhYB8E6rZADpjInWPAOcRdT8QKc1Ll5g9wfVkzikbmZmZNPmRyEV dZNAkg3W0N/dt39zZahBfUUQehV87P6PO5qKXYRiH572V8Qo2pUTGaiKcBUN2VISftPB kqRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718179593; x=1718784393; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=O/NUPbIh6KH2M0kCYkMVAfLrTd49vfN01minAiZapEM=; b=CPjUk5xHJSj9nE/tbjwh4ujEvyld5fVSTC0FXWI3UY78sYRpUnXly5EqTASMlrZSWK Or4bVrjLYTyeIxkXncEIROZZwzsU4hyg2LF28YGMfqBpLzojmlJtNth6tV9mOXJeJvmy kKwXxpF6bolvJLfKG9Le2M/sP+5IaOrtIeIlM75jyRYuATZXZynCdQF9X27yF+2/LbZm zJWwKWEkrrgnMyyvgW7lTquwGT49DW2XaOj3f1N0OVlP54nDT/SzRiC84Z1ASfJucVgf VXXRoO5a0FFvahJq0WPRt5k7jTmJjw0bDAN7TNs2w6Fx5/GqAgcTzctbhEcN9iu90Ko/ Dj0w== X-Forwarded-Encrypted: i=1; AJvYcCW+vlbxpV+L14OERpW4a4/+NMcbswlzvYO6ZlS73nDzR8xwd9CtfSngzyD3iwG1qv46xl6UXeJHaTcUqOg6mMt41wX7fWXS0Zv+LOOv X-Gm-Message-State: AOJu0YxBxcm4gMXJHnjRJT2Z75DjqW+STSG8yzqawYt5KFvHwLNfn5vy 0c5f3WYljMlzPh6NxAS+UK/cPfjeoTc70ip2YWF57M4APeFo3bYlDUhsbNLfoHNG/ZND9p3e5Y5 AFJ2hz0UXikDv4DsUX/RQCvSzQs7ZdCQaQA5eIg== X-Received: by 2002:a50:a419:0:b0:57c:7dee:52e4 with SMTP id 4fb4d7f45d1cf-57ca9764b69mr562078a12.25.1718179591338; Wed, 12 Jun 2024 01:06:31 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240507-samsung-usb-phy-fixes-v1-0-4ccba5afa7cc@linaro.org> <20240507-samsung-usb-phy-fixes-v1-2-4ccba5afa7cc@linaro.org> In-Reply-To: <20240507-samsung-usb-phy-fixes-v1-2-4ccba5afa7cc@linaro.org> From: Peter Griffin Date: Wed, 12 Jun 2024 09:06:19 +0100 Message-ID: Subject: Re: [PATCH 2/5] phy: exynos5-usbdrd: convert udelay() to fsleep() To: =?UTF-8?Q?Andr=C3=A9_Draszik?= Cc: Vinod Koul , Kishon Vijay Abraham I , Krzysztof Kozlowski , Alim Akhtar , Sam Protsenko , Tudor Ambarus , Will McVicker , kernel-team@android.com, linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Andr=C3=A9, On Tue, 7 May 2024 at 15:14, Andr=C3=A9 Draszik = wrote: > > The timers-howto recommends using usleep_range() and friends anytime > waiting for >=3D ~10us is required. Doing so can help the timer subsystem > a lot to coalesce wakeups. > > Additionally, fsleep() exists as a convenient wrapper so we do not have > to think about which exact sleeping function is required in which case. > > Convert all udelay() calls in this driver to use fsleep() to follow the > recommendataion. Nit: typo in commit message recommendataion -> recommendation > > Signed-off-by: Andr=C3=A9 Draszik > --- Aside from that: Reviewed-by: Peter Griffin [..]