From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796303783; b=cxOBv7jclSOGy/hG+Wt/dAacIiyhTadjpZTCq9Ia2mFaMyO1cpgcyOk0JrwngE/7aaXg +ncJUDPlcxdFzj6hG/OwL/pLvUDFH8nu3D+l8Z7IbYAz7N6H7rktYeZx4wrKCQhtou4tx qKuaAu+q/tx3D5SZPvH+f1PHy3MDCUrWfE8J2fSx9kkGVZstEnv0wIx3RZCzb0BvPNrDa givHkbew7+R8RKdK5cUnkw/oXOeXbTABX73sRwvxI1NkRqDpeYpaopR6wwy2X68BeZIk3 IURySGFuYV+Dsdp6cf/uKE6f6UlSIjgn7cX+f2SatxHTq2Iz/ajCpKB3bBG36Yy6MsQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796303783; h=Received:DKIM-Signature:Received:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=8hBiWRBgv300NINVhV6GGnDK7Duurej+Jk2fkdtojBo=; b=Pw6uA/Hu2j+sbu9bE7oijflJwDDX048iP27HtEOsLrMcVjQ+FLTjtBcn+RaC+2bnpJp5 mcyZ6qzKoNLwRns2qCW7ALzHSJb9Qhe1oJLmTwC3GrRWkBDkpGaOyP8jgurEsH6YpbuXV vG6xJdjLTzSsz8TujhJWqtSjuidMlQPtX2i//QMIBvg1SVCW3IqdycSeBb8tldzpIYGLM T85Y2Z9JdWVzR9gkUr7e/0R0RTVZUJdiCW35phuhP8WY52X6P3GzJvoaMLXW3rPkXnx/U kGC/qHB5AENuLsc+5YtGB0jfHqcHEvpakPa8OW89Y0OBAtcuvpPMbLhpsCTScsnWFTA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=hSArntNR; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 63247606A32D for ; Thu, 3 Dec 2026 13:16:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=hSArntNR Received: by smtp.kernel.org (Postfix) with ESMTPSA id E9E7E1F000C1; Thu, 3 Dec 2026 13:16:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796303783; bh=8hBiWRBgv300NINVhV6GGnDK7Duurej+Jk2fkdtojBo=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=hSArntNR/J8efhtSxr3wjqxRlBDxKVyZzduZjF+B8lpjYd/XihhNLmhXdTqeyGvC9 4PzeYK2UwjuiwcRkzAHZaUoCRAVeZyaPbetuv691N1GJALNqcwSX6VnwtC+keH63T9 ydxKDnjKMn+PiUOvNK6B3U9mYCrEtXouYGjL8ckaEnnNU1BSexNFAwZTXcbX8rH3z0 QOXc6XkE2DNaq5DXmGik3ooBAe+0HdTxOYxHH0Aleipa1xqbzJ3xAitwdml0gOpjM3 AoQNAPmqdNpxOg0GqiK2x2DAb9KW1Sy78nKkSfNaK2rjXQ2SFNyjvcUDBqkL4KOxM4 lFW4Y3MYynnZA== Received: from johan by xi.lan with local (Exim 4.100.2) (envelope-from ) id 1xZ6fc-00000005DF9-3Gkl; Thu, 03 Dec 2026 14:16:20 +0100 Date: Thu, 3 Dec 2026 14:16:20 +0100 From: Johan Hovold To: Tomasz Unger Cc: Ayush Singh , Alex Elder , Greg Kroah-Hartman , Ayush Singh , greybus-dev@lists.linaro.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] greybus: gb-beagleplay: Pass jiffies to serdev_device_wait_until_sent() Message-ID: References: <20261203-gb-beagleplay-wait-until-sent-jiffies-v1-1-e821aba69c25.ref@yahoo.pl> <20261203-gb-beagleplay-wait-until-sent-jiffies-v1-1-e821aba69c25@yahoo.pl> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261203-gb-beagleplay-wait-until-sent-jiffies-v1-1-e821aba69c25@yahoo.pl> On Thu, Dec 03, 2026 at 12:45:42AM +0100, Tomasz Unger wrote: > cc1352_prepare() passes CC1352_BOOTLOADER_TIMEOUT (2000, meant as > milliseconds) directly to serdev_device_wait_until_sent(), which takes > the timeout in jiffies. With HZ=250, as on the BeaglePlay, it waits up > to 8 seconds instead of 2. > > Convert it with msecs_to_jiffies(), as the other users of this constant > in the driver already do. > > Fixes: 0cf7befa3ea2 ("greybus: gb-beagleplay: Add firmware upload API") > Signed-off-by: Tomasz Unger > --- Looks correct: Reviewed-by: Johan Hovold