summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Chen <chenjh@rock-chips.com>2021-10-26 06:14:46 +0300
committerJianhong Chen <chenjh@rock-chips.com>2021-10-26 13:23:52 +0300
commit0b97a2cba3dad0e0a5ee9b83f81962a0251fd65b (patch)
treed493e6860748e95c927961da398d82c9c0559fa8
parent6150729092b82b4c8f9335f4a6826a9ac1787e0e (diff)
downloadu-boot-0b97a2cba3dad0e0a5ee9b83f81962a0251fd65b.tar.xz
rockusb: introduce CONFIG_ROCKCHIP_NEW_IDB
The IDB header was changed from rk356x. Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I8ac50adfe06da76f725b484681b76faeeb06d907
-rw-r--r--drivers/usb/gadget/f_rockusb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/f_rockusb.c b/drivers/usb/gadget/f_rockusb.c
index 38ab7c1e76..d76ea684a2 100644
--- a/drivers/usb/gadget/f_rockusb.c
+++ b/drivers/usb/gadget/f_rockusb.c
@@ -696,7 +696,7 @@ static int rkusb_do_read_capacity(struct fsg_common *common,
buf[0] |= (1 << 6);
#endif
-#if defined(CONFIG_ROCKCHIP_RK3568)
+#if defined(CONFIG_ROCKCHIP_NEW_IDB)
buf[1] = BIT(0);
#endif
buf[1] |= BIT(1);