[PATCH v3 6/7] usb: gadget: bdc: remove unnecessary AND operation when get ep maxp

Florian Fainelli f.fainelli at gmail.com
Sun Aug 15 00:24:24 PDT 2021



On 8/13/2021 8:30 AM, Chunfeng Yun wrote:
> usb_endpoint_maxp() already returns actual max packet size, no need
> to AND 0x7ff.
> 
> Acked-by: Felipe Balbi <balbi at kernel.org>
> Signed-off-by: Chunfeng Yun <chunfeng.yun at mediatek.com>

Reviewed-by: Florian Fainelli <f.fainelli at gmail.com>
-- 
Florian



More information about the Linux-mediatek mailing list