drivers/usb: Fix the typo error in Kconfig

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-12-25 00:33:10 +08:00 committed by Petro Karashchenko
parent b9d7d00943
commit 7322eafba7
3 changed files with 27 additions and 10 deletions

View File

@ -45,8 +45,6 @@ CONFIG_BOARD_LOOPSPERMSEC=5483
CONFIG_BUILTIN=y
CONFIG_CDCACM=y
CONFIG_CDCACM_COMPOSITE=y
CONFIG_CDCACM_EPBULKIN_HSSIZE=64
CONFIG_CDCACM_EPBULKOUT_HSSIZE=64
CONFIG_CDCACM_NRDREQS=2
CONFIG_CDCACM_NWRREQS=2
CONFIG_CDCACM_RXBUFSIZE=96

View File

@ -28,7 +28,6 @@ CONFIG_ARMV7M_USEBASEPRI=y
CONFIG_BOARD_LOOPSPERMSEC=43103
CONFIG_BUILTIN=y
CONFIG_CDCACM=y
CONFIG_CDCACM_EPINTIN_HSSIZE=512
CONFIG_DEBUG_SYMBOLS=y
CONFIG_DRIVER_NOTE=y
CONFIG_DRIVER_NOTERAM_BUFSIZE=512

View File

@ -438,6 +438,8 @@ config CDCACM_EPINTIN_FSSIZE
Max package size for the interrupt IN endpoint if full speed mode.
Default 64.
if USBDEV_DUALSPEED
config CDCACM_EPINTIN_HSSIZE
int "Interrupt IN high speed MAXPACKET size"
default 64
@ -445,6 +447,8 @@ config CDCACM_EPINTIN_HSSIZE
Max package size for the interrupt IN endpoint if high speed mode.
Default 64.
endif # USBDEV_DUALSPEED
if !CDCACM_COMPOSITE
# In a composite device the EP-Number is configured dynamically via
@ -466,6 +470,8 @@ config CDCACM_EPBULKOUT_FSSIZE
Max package size for the bulk OUT endpoint if full speed mode.
Default 64.
if USBDEV_DUALSPEED
config CDCACM_EPBULKOUT_HSSIZE
int "Bulk OUT out high speed MAXPACKET size"
default 512
@ -473,6 +479,8 @@ config CDCACM_EPBULKOUT_HSSIZE
Max package size for the bulk OUT endpoint if high speed mode.
Default 512.
endif # USBDEV_DUALSPEED
if !CDCACM_COMPOSITE
# In a composite device the EP-Number is configured dynamically via
@ -494,6 +502,8 @@ config CDCACM_EPBULKIN_FSSIZE
Max package size for the bulk IN endpoint if full speed mode.
Default 64.
if USBDEV_DUALSPEED
config CDCACM_EPBULKIN_HSSIZE
int "Bulk IN high speed MAXPACKET size"
default 512
@ -501,6 +511,8 @@ config CDCACM_EPBULKIN_HSSIZE
Max package size for the bulk IN endpoint if high speed mode.
Default 512.
endif # USBDEV_DUALSPEED
config CDCACM_NRDREQS
int "Number of read requests that can be in flight"
default 4
@ -642,6 +654,8 @@ config USBADB_EPBULKOUT_FSSIZE
Max package size for the bulk OUT endpoint if full speed mode.
Default 64.
if USBDEV_DUALSPEED
config USBADB_EPBULKOUT_HSSIZE
int "Bulk OUT out high speed MAXPACKET size"
default 512
@ -649,6 +663,8 @@ config USBADB_EPBULKOUT_HSSIZE
Max package size for the bulk OUT endpoint if high speed mode.
Default 512.
endif # USBDEV_DUALSPEED
config USBADB_EPBULKIN_FSSIZE
int "Bulk IN full speed MAXPACKET size"
default 64
@ -656,6 +672,8 @@ config USBADB_EPBULKIN_FSSIZE
Max package size for the bulk IN endpoint if full speed mode.
Default 64.
if USBDEV_DUALSPEED
config USBADB_EPBULKIN_HSSIZE
int "Bulk IN high speed MAXPACKET size"
default 512
@ -663,6 +681,8 @@ config USBADB_EPBULKIN_HSSIZE
Max package size for the bulk IN endpoint if high speed mode.
Default 512.
endif # USBDEV_DUALSPEED
config USBADB_NRDREQS
int "Number of read requests that can be in flight"
default 4
@ -700,7 +720,7 @@ config USBADB_PRODUCTSTR
config USBADB_BOARD_SERIALSTR
bool "Enable board unique ID to USBADB serial string"
default n
select BOARD_USBDEV_SERIALSTR
select BOARD_USBDEV_SERIALSTR
---help---
Use board unique serial number to iSerialNumber in the device descriptor.
@ -760,17 +780,17 @@ config USBMSC_COMPOSITE
Configure the mass storage driver as part of a composite driver
(only if USBDEV_COMPOSITE is also defined)
if !USBMSC_COMPOSITE
# In a composite device the EP-Number and STR-Number is configured
# dynamically via composite_initialize
config USBMSC_EP0MAXPACKET
int "Max packet size for endpoint 0"
default 64
---help---
Max packet size for endpoint 0
if !USBMSC_COMPOSITE
# In a composite device the EP-Number and STR-Number is configured
# dynamically via composite_initialize
config USBMSC_EPBULKOUT
int "Bulk OUT endpoint number"
default 2
@ -885,7 +905,7 @@ config USBMSC_PRODUCTSTR
config USBMSC_BOARD_SERIALSTR
bool "Enable board unique ID to mass storage serial string"
default n
select BOARD_USBDEV_SERIALSTR
select BOARD_USBDEV_SERIALSTR
---help---
Use board unique serial number to iSerialNumber in the device descriptor.