diff options
author | Chunfeng Yun <chunfeng.yun@mediatek.com> | 2021-08-13 09:30:53 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-08-13 14:05:51 +0300 |
commit | 97d99f7e8f1ccaa18d6447f4a3b0b48ed64aa214 (patch) | |
tree | dd6cd6132e199fd9af489fce4c970db0889ac407 /Documentation/devicetree/bindings/connector/usb-connector.yaml | |
parent | b553c9466fa54d29e314659117b0b24719f24bd3 (diff) | |
download | linux-97d99f7e8f1ccaa18d6447f4a3b0b48ed64aa214.tar.xz |
usb: gadget: remove unnecessary AND operation when get ep maxp
usb_endpoint_maxp() already returns actual max packet size, no need
to AND 0x7ff.
Acked-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/1628836253-7432-7-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/connector/usb-connector.yaml')
0 files changed, 0 insertions, 0 deletions