All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johan Hovold <johan@kernel.org>
To: Tomasz Unger <tomasz.unger@yahoo.pl>
Cc: Ayush Singh <ayushdevel1325@gmail.com>,
	Alex Elder <elder@kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Ayush Singh <ayush@beagleboard.org>,
	greybus-dev@lists.linaro.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] greybus: gb-beagleplay: Pass jiffies to serdev_device_wait_until_sent()
Date: Thu, 3 Dec 2026 14:16:20 +0100	[thread overview]
Message-ID: <axFrpEOOtvkoCeOY@hovoldconsulting.com> (raw)
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 <tomasz.unger@yahoo.pl>
> ---

Looks correct:

Reviewed-by: Johan Hovold <johan@kernel.org>

  reply	other threads:[~2026-12-03 13:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20261203-gb-beagleplay-wait-until-sent-jiffies-v1-1-e821aba69c25.ref@yahoo.pl>
2026-12-02 23:45 ` [PATCH] greybus: gb-beagleplay: Pass jiffies to serdev_device_wait_until_sent() Tomasz Unger
2026-12-03 13:16   ` Johan Hovold [this message]
2026-12-05 13:45   ` Ayush Singh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=axFrpEOOtvkoCeOY@hovoldconsulting.com \
    --to=johan@kernel.org \
    --cc=ayush@beagleboard.org \
    --cc=ayushdevel1325@gmail.com \
    --cc=elder@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=greybus-dev@lists.linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tomasz.unger@yahoo.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.