summaryrefslogtreecommitdiff
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>2021-12-16 15:57:44 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-27 13:04:50 +0300
commit1ee70b4c5406711c563a8146b96e079592a4e0b9 (patch)
tree5158aa0253d8d0bfc11e0fd2aed14ad847148b90 /drivers/acpi/cppc_acpi.c
parentdcedcbe177397122582e9e09b2ada9fdf9596409 (diff)
downloadlinux-1ee70b4c5406711c563a8146b96e079592a4e0b9.tar.xz
mmc: mtk-sd: Use readl_poll_timeout instead of open-coded polling
[ Upstream commit ffaea6ebfe9ce06ebb3a54811a47688f2b0893cd ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions