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_BUILTIN=y
CONFIG_CDCACM=y CONFIG_CDCACM=y
CONFIG_CDCACM_COMPOSITE=y CONFIG_CDCACM_COMPOSITE=y
CONFIG_CDCACM_EPBULKIN_HSSIZE=64
CONFIG_CDCACM_EPBULKOUT_HSSIZE=64
CONFIG_CDCACM_NRDREQS=2 CONFIG_CDCACM_NRDREQS=2
CONFIG_CDCACM_NWRREQS=2 CONFIG_CDCACM_NWRREQS=2
CONFIG_CDCACM_RXBUFSIZE=96 CONFIG_CDCACM_RXBUFSIZE=96

View File

@ -28,7 +28,6 @@ CONFIG_ARMV7M_USEBASEPRI=y
CONFIG_BOARD_LOOPSPERMSEC=43103 CONFIG_BOARD_LOOPSPERMSEC=43103
CONFIG_BUILTIN=y CONFIG_BUILTIN=y
CONFIG_CDCACM=y CONFIG_CDCACM=y
CONFIG_CDCACM_EPINTIN_HSSIZE=512
CONFIG_DEBUG_SYMBOLS=y CONFIG_DEBUG_SYMBOLS=y
CONFIG_DRIVER_NOTE=y CONFIG_DRIVER_NOTE=y
CONFIG_DRIVER_NOTERAM_BUFSIZE=512 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. Max package size for the interrupt IN endpoint if full speed mode.
Default 64. Default 64.
if USBDEV_DUALSPEED
config CDCACM_EPINTIN_HSSIZE config CDCACM_EPINTIN_HSSIZE
int "Interrupt IN high speed MAXPACKET size" int "Interrupt IN high speed MAXPACKET size"
default 64 default 64
@ -445,6 +447,8 @@ config CDCACM_EPINTIN_HSSIZE
Max package size for the interrupt IN endpoint if high speed mode. Max package size for the interrupt IN endpoint if high speed mode.
Default 64. Default 64.
endif # USBDEV_DUALSPEED
if !CDCACM_COMPOSITE if !CDCACM_COMPOSITE
# In a composite device the EP-Number is configured dynamically via # 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. Max package size for the bulk OUT endpoint if full speed mode.
Default 64. Default 64.
if USBDEV_DUALSPEED
config CDCACM_EPBULKOUT_HSSIZE config CDCACM_EPBULKOUT_HSSIZE
int "Bulk OUT out high speed MAXPACKET size" int "Bulk OUT out high speed MAXPACKET size"
default 512 default 512
@ -473,6 +479,8 @@ config CDCACM_EPBULKOUT_HSSIZE
Max package size for the bulk OUT endpoint if high speed mode. Max package size for the bulk OUT endpoint if high speed mode.
Default 512. Default 512.
endif # USBDEV_DUALSPEED
if !CDCACM_COMPOSITE if !CDCACM_COMPOSITE
# In a composite device the EP-Number is configured dynamically via # 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. Max package size for the bulk IN endpoint if full speed mode.
Default 64. Default 64.
if USBDEV_DUALSPEED
config CDCACM_EPBULKIN_HSSIZE config CDCACM_EPBULKIN_HSSIZE
int "Bulk IN high speed MAXPACKET size" int "Bulk IN high speed MAXPACKET size"
default 512 default 512
@ -501,6 +511,8 @@ config CDCACM_EPBULKIN_HSSIZE
Max package size for the bulk IN endpoint if high speed mode. Max package size for the bulk IN endpoint if high speed mode.
Default 512. Default 512.
endif # USBDEV_DUALSPEED
config CDCACM_NRDREQS config CDCACM_NRDREQS
int "Number of read requests that can be in flight" int "Number of read requests that can be in flight"
default 4 default 4
@ -642,6 +654,8 @@ config USBADB_EPBULKOUT_FSSIZE
Max package size for the bulk OUT endpoint if full speed mode. Max package size for the bulk OUT endpoint if full speed mode.
Default 64. Default 64.
if USBDEV_DUALSPEED
config USBADB_EPBULKOUT_HSSIZE config USBADB_EPBULKOUT_HSSIZE
int "Bulk OUT out high speed MAXPACKET size" int "Bulk OUT out high speed MAXPACKET size"
default 512 default 512
@ -649,6 +663,8 @@ config USBADB_EPBULKOUT_HSSIZE
Max package size for the bulk OUT endpoint if high speed mode. Max package size for the bulk OUT endpoint if high speed mode.
Default 512. Default 512.
endif # USBDEV_DUALSPEED
config USBADB_EPBULKIN_FSSIZE config USBADB_EPBULKIN_FSSIZE
int "Bulk IN full speed MAXPACKET size" int "Bulk IN full speed MAXPACKET size"
default 64 default 64
@ -656,6 +672,8 @@ config USBADB_EPBULKIN_FSSIZE
Max package size for the bulk IN endpoint if full speed mode. Max package size for the bulk IN endpoint if full speed mode.
Default 64. Default 64.
if USBDEV_DUALSPEED
config USBADB_EPBULKIN_HSSIZE config USBADB_EPBULKIN_HSSIZE
int "Bulk IN high speed MAXPACKET size" int "Bulk IN high speed MAXPACKET size"
default 512 default 512
@ -663,6 +681,8 @@ config USBADB_EPBULKIN_HSSIZE
Max package size for the bulk IN endpoint if high speed mode. Max package size for the bulk IN endpoint if high speed mode.
Default 512. Default 512.
endif # USBDEV_DUALSPEED
config USBADB_NRDREQS config USBADB_NRDREQS
int "Number of read requests that can be in flight" int "Number of read requests that can be in flight"
default 4 default 4
@ -760,17 +780,17 @@ config USBMSC_COMPOSITE
Configure the mass storage driver as part of a composite driver Configure the mass storage driver as part of a composite driver
(only if USBDEV_COMPOSITE is also defined) (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 config USBMSC_EP0MAXPACKET
int "Max packet size for endpoint 0" int "Max packet size for endpoint 0"
default 64 default 64
---help--- ---help---
Max packet size for endpoint 0 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 config USBMSC_EPBULKOUT
int "Bulk OUT endpoint number" int "Bulk OUT endpoint number"
default 2 default 2