iopoll: Extend read_poll_timeout macro to support variable parameters
authorAriel D'Alessandro <ariel.dalessandro@collabora.com>
Tue, 12 Apr 2022 13:31:35 +0000 (10:31 -0300)
committerStefano Babic <sbabic@denx.de>
Tue, 12 Apr 2022 17:10:44 +0000 (19:10 +0200)
commitd7db0e6df3e42a5d47bac4d3b7a9e6c13ac08ec9
treedb5cee4c187a18a913b3c72b815e810e6733faf2
parent01c67a381c3e7dc70ad75b4d69ae3c82dff5afa8
iopoll: Extend read_poll_timeout macro to support variable parameters

This macro currently supports only one parameter. Based on Linux iopoll,
let's extend read_poll_timeout common API to allow multiple variable
parameters.

Signed-off-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
arch/arm/mach-socfpga/reset_manager_s10.c
drivers/mmc/rockchip_sdhci.c
include/linux/iopoll.h