commit | 6158d0b42411165d34635a2ddfea17e12dce3329 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Thu Sep 07 06:13:20 2017 -0700 |
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | Wed Sep 27 12:12:22 2017 +0200 |
tree | 82f275d5aeb53aef1e7e95da857075b993ccd6a9 | |
parent | a23aa66baa3725e8707da46b18c645ad1a7243a0 [diff] |
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: Bin Meng <bmeng.cn@gmail.com>