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:
parent
9f408268dc
commit
007849d805
|
|
@ -564,6 +564,9 @@ static int rkusb_do_read_capacity(struct fsg_common *common,
|
||||||
devnum == BLK_MTD_SPI_NAND))
|
devnum == BLK_MTD_SPI_NAND))
|
||||||
buf[0] |= (1 << 6);
|
buf[0] |= (1 << 6);
|
||||||
|
|
||||||
|
#if defined(CONFIG_ROCKCHIP_RK3568)
|
||||||
|
buf[1] = BIT(0);
|
||||||
|
#endif
|
||||||
/* Set data xfer size */
|
/* Set data xfer size */
|
||||||
common->residue = len;
|
common->residue = len;
|
||||||
common->data_size_from_cmnd = len;
|
common->data_size_from_cmnd = len;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue