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

From: Florian Fainelli
Date: Sun Aug 15 2021 - 03:24:48 EST




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@xxxxxxxxxx>
Signed-off-by: Chunfeng Yun <chunfeng.yun@xxxxxxxxxxxx>

Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian