MLK-16135 usb: gadget: utp: bulk out req amount divisible by 512
authorLi Jun <jun.li@nxp.com>
Thu, 3 Aug 2017 17:24:35 +0000 (01:24 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:36:22 +0000 (15:36 -0500)
commitae35a2416c7c0fd56182f463e298560f16599083
tree1266cd5b22114f535596d4452db15e8847bfb042
parentfde9626350d8e1e45bddb1fad9b6ba8ed9a9a4bd
MLK-16135 usb: gadget: utp: bulk out req amount divisible by 512

As the code comments say, the bulk out req amount should be divisible
by 512, fix this by using set_bulk_out_req_length().

Acked-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
drivers/usb/gadget/function/fsl_updater.c