Skip to content
Commit 6158d0b4 authored by Bin Meng's avatar Bin Meng Committed by Marek Vasut
Browse files

usb: storage: Refactor to use max_xfer_blk from struct us_data



This adds a new memeber max_xfer_blk in struct us_data to record
the maximum number of transfer blocks for the storage device.

It is set per HCD setting, and so far is to 65535 for EHCD and 20
for everything else.

Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent a23aa66b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment