[PATCH v3 2/7] mtd: spi-nor: Wait for NOR ready with poll_timeout_us()

Mark Brown broonie at kernel.org
Thu Oct 15 05:10:58 PDT 2026


On Wed, Oct 14, 2026 at 05:42:56PM +0200, Paul Cercueil wrote:
> @@ -711,30 +712,21 @@ static int spi_nor_ready(struct spi_nor *nor)
>   *
>   * Return: 0 on success, -errno otherwise.
>   */
> -static int spi_nor_wait_till_ready_with_timeout(struct spi_nor *nor,
> -						unsigned long timeout_jiffies)
> +static int spi_nor_wait_till_ready_with_timeout(struct spi_nor *nor, u64 timeout_ms)
>  {

The parameter is renamed but the kerneldoc isn't updated to reflect
that.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20261015/bbb62cd5/attachment.sig>


More information about the linux-mtd mailing list