commit | 4312638eaf7f0bd29ffa8c7957bd51c5eb7d5a32 | [log] [tgz] |
---|---|---|
author | Chunfeng Yun <chunfeng.yun@mediatek.com> | Tue Sep 08 19:00:00 2020 +0200 |
committer | Marek Vasut <marex@denx.de> | Thu Oct 01 19:43:05 2020 +0200 |
tree | 54efe33c164a78b54cf9fd474e9663eaecaf3a08 | |
parent | a826d76f2bab971b293b4ba6bf45b81871051383 [diff] |
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: Chunfeng Yun <chunfeng.yun@mediatek.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>