diff options
| author | AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | 2021-12-16 15:57:44 +0300 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2021-12-28 19:21:14 +0300 |
| commit | ffaea6ebfe9ce06ebb3a54811a47688f2b0893cd (patch) | |
| tree | 41b3d7a872401b7947bc83c0f8bedc970d4d45dd /drivers/usb/cdns3/cdns3-debug.h | |
| parent | 585cba9d424e6cd9eda50c3397280ac320cbf832 (diff) | |
| download | linux-ffaea6ebfe9ce06ebb3a54811a47688f2b0893cd.tar.xz | |
mmc: mtk-sd: Use readl_poll_timeout instead of open-coded polling
Replace all instances of open-coded while loops for polling registers
with calls to readl_poll_timeout() and, while at it, also fix some
possible infinite loop instances.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20211216125748.179602-1-angelogioacchino.delregno@collabora.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions
