summaryrefslogtreecommitdiff
path: root/drivers/Kconfig
diff options
context:
space:
mode:
authorJie Hai <haijie1@huawei.com>2022-08-30 09:22:48 +0300
committerVinod Koul <vkoul@kernel.org>2022-09-04 20:12:35 +0300
commit4aa69cf7ed44590e8702eb970ff6951e33dcdabf (patch)
treeae9117741288d5d707b1fb07bf0f513d2ce52272 /drivers/Kconfig
parent2cbb95883c990d0002a77e13d3278913ab26ad79 (diff)
downloadlinux-4aa69cf7ed44590e8702eb970ff6951e33dcdabf.tar.xz
dmaengine: hisilicon: Use macros instead of magic number
readl_relaxed_poll_timeout() uses magic numbers 10 and 1000, which indicate maximum time to sleep between reads in us and timeout in us, respectively. Use macros HISI_DMA_POLL_Q_STS_DELAY_US and HISI_DMA_POLL_Q_STS_TIME_OUT_US instead of these two numbers. Signed-off-by: Jie Hai <haijie1@huawei.com> Acked-by: Zhou Wang <wangzhou1@hisilicon.com> Link: https://lore.kernel.org/r/20220830062251.52993-5-haijie1@huawei.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/Kconfig')
0 files changed, 0 insertions, 0 deletions