Jie Hai 4aa69cf7ed 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>
2022-09-04 22:42:35 +05:30
..
2022-08-04 18:44:38 -07:00
2022-08-04 19:30:35 -07:00
2022-08-04 18:44:38 -07:00
2022-07-06 10:50:43 +05:30
2022-08-04 18:44:38 -07:00
2022-08-04 18:44:38 -07:00
2022-08-04 18:44:38 -07:00
2022-07-06 10:50:43 +05:30
2022-07-06 10:50:43 +05:30
2021-12-13 13:18:48 +05:30