summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/f_rockusb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget/f_rockusb.c')
-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);