drivers: rockusb: add new idb feature for rk3568

Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: Iee5ed01bb336a5b5994381fc8e734da3b87329fe
This commit is contained in:
Yifeng Zhao 2020-11-12 08:37:56 +08:00 committed by Jianhong Chen
parent 9f408268dc
commit 007849d805
1 changed files with 3 additions and 0 deletions

View File

@ -564,6 +564,9 @@ static int rkusb_do_read_capacity(struct fsg_common *common,
devnum == BLK_MTD_SPI_NAND))
buf[0] |= (1 << 6);
#if defined(CONFIG_ROCKCHIP_RK3568)
buf[1] = BIT(0);
#endif
/* Set data xfer size */
common->residue = len;
common->data_size_from_cmnd = len;