diff options
author | Fenghua Yu <fenghua.yu@intel.com> | 2023-07-12 10:44:35 -0700 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-08-01 23:34:43 +0530 |
commit | 97b1185fe54c8ce94104e3c7fa4ee0bbedd85920 (patch) | |
tree | a5b00bb0e4555fe369153e9b7dcc12848e9176fe /drivers/dma/mediatek/mtk-uart-apdma.c | |
parent | cae701b9ccf128edea26982f73178087fc3ad180 (diff) |
dmaengine: idxd: Simplify WQ attribute visibility checks
The functions that check if WQ attributes are invisible are almost
duplicate. Define a helper to simplify these functions and future
WQ attribute visibility checks as well.
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20230712174436.3435088-1-fenghua.yu@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/mediatek/mtk-uart-apdma.c')
0 files changed, 0 insertions, 0 deletions