Skip to content
Commit 4312638e authored by Chunfeng Yun's avatar Chunfeng Yun Committed by Marek Vasut
Browse files

usb: xhci: convert to TRB_LEN() and TRB_INTR_TARGET()



For normal TRB fields:
use TRB_LEN(x) instead of ((x) & TRB_LEN_MASK);
and use TRB_INTR_TARGET(x) instead of
(((x) & TRB_INTR_TARGET_MASK) << TRB_INTR_TARGET_SHIFT)

Signed-off-by: default avatarChunfeng Yun <chunfeng.yun@mediatek.com>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent a826d76f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment