Change dpends on SCHED_[L|H]PWORK to SCHED_WORKQUEUE
since the code could map the unsupported work to the supported one and remove select SCHED_WORKQUEUE from Kconfig since SCHED_[L|H]PWORK already do the selection Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
3f8b71924f
commit
7ec6b4c7dd
@ -80,7 +80,7 @@ if CXD56_PMIC
|
||||
config CXD56_PMIC_INT
|
||||
bool "PMIC interrupt"
|
||||
default n
|
||||
depends on SCHED_LPWORK
|
||||
depends on SCHED_WORKQUEUE
|
||||
---help---
|
||||
Enable PMIC interrupt.
|
||||
|
||||
@ -1202,7 +1202,7 @@ menuconfig CXD56_SDIO
|
||||
default n
|
||||
select ARCH_HAVE_SDIO
|
||||
select SDIO_BLOCKSETUP
|
||||
depends on SCHED_HPWORK
|
||||
depends on SCHED_WORKQUEUE
|
||||
|
||||
if CXD56_SDIO
|
||||
|
||||
|
@ -5076,7 +5076,6 @@ config SAMA5_SDMMC
|
||||
bool "enable SDMMC controller"
|
||||
default y if SAMA5_HAVE_SDMMC
|
||||
select SDIO_DMA
|
||||
select SCHED_WORKQUEUE
|
||||
select SCHED_HPWORK
|
||||
select MMCSD
|
||||
select MMCSD_SDIO
|
||||
@ -5084,7 +5083,7 @@ config SAMA5_SDMMC
|
||||
select ARCH_HAVE_SDIO
|
||||
select SAMA5_SDMMC_DMA
|
||||
---help---
|
||||
Enable SD Card interface SDMMC. Selects SAMA5_SDMMC SAMA5_SDMMC_DMA SDIO_DMA SCHED_WORKQUEUE SCHED_HPWORK SDIO_BLOCKSETUP
|
||||
Enable SD Card interface SDMMC. Selects SAMA5_SDMMC SAMA5_SDMMC_DMA SDIO_DMA SCHED_HPWORK SDIO_BLOCKSETUP
|
||||
|
||||
choice
|
||||
prompt "SDMMC maximum bus speed"
|
||||
|
@ -78,8 +78,7 @@ endmenu # BL602_SPIFLASH
|
||||
|
||||
config BL602_WIRELESS
|
||||
bool "Wireless & WiFi Support"
|
||||
depends on SCHED_HPWORK
|
||||
depends on SCHED_LPWORK
|
||||
depends on SCHED_WORKQUEUE
|
||||
default n
|
||||
|
||||
config BL602_WIRELESS_DEBUG
|
||||
@ -101,6 +100,6 @@ config BL602_BLE_CONTROLLER
|
||||
bool "ble controller support"
|
||||
default n
|
||||
depends on !DISABLE_MQUEUE
|
||||
depends on SCHED_HPWORK
|
||||
depends on SCHED_WORKQUEUE
|
||||
depends on BL602_WIRELESS
|
||||
endmenu
|
||||
|
@ -28,7 +28,6 @@ config LITEX_UART0
|
||||
config LITEX_SDIO
|
||||
bool "SDIO"
|
||||
default n
|
||||
select SCHED_WORKQUEUE
|
||||
select SCHED_HPWORK
|
||||
select MMCSD
|
||||
select MMCSD_SDIO
|
||||
|
@ -29,7 +29,6 @@ config SAMA5_SDMMC
|
||||
bool "enable SDMMC controller"
|
||||
default y if SAMA5_HAVE_SDMMC
|
||||
select SDIO_DMA
|
||||
select SCHED_WORKQUEUE
|
||||
select SCHED_HPWORK
|
||||
select MMCSD
|
||||
select MMCSD_SDIO
|
||||
@ -38,7 +37,7 @@ config SAMA5_SDMMC
|
||||
select SAMA5_SDMMC_DMA
|
||||
---help---
|
||||
Enable SD Card interface SDMMC0. Selects SAMA5_SDMMC SAMA5_SDMMC0
|
||||
SAMA5_SDMMC_DMA SDIO_DMA SCHED_WORKQUEUE SCHED_HPWORK SDIO_BLOCKSETUP
|
||||
SAMA5_SDMMC_DMA SDIO_DMA SCHED_HPWORK SDIO_BLOCKSETUP
|
||||
|
||||
config SAMA5_SDMMC0
|
||||
bool "Enable SDMMC0 (built-in eMMC)"
|
||||
|
@ -38,7 +38,6 @@ config SAMA5_SDMMC
|
||||
bool "enable SDMMC controller"
|
||||
default y if SAMA5_HAVE_SDMMC
|
||||
select SDIO_DMA
|
||||
select SCHED_WORKQUEUE
|
||||
select SCHED_HPWORK
|
||||
select MMCSD
|
||||
select MMCSD_SDIO
|
||||
@ -46,7 +45,7 @@ config SAMA5_SDMMC
|
||||
select ARCH_HAVE_SDIO
|
||||
select SAMA5_SDMMC_DMA
|
||||
---help---
|
||||
Enable SD Card interface SDMMC0. Selects SAMA5_SDMMC SAMA5_SDMMC0 SAMA5_SDMMC_DMA SDIO_DMA SCHED_WORKQUEUE SCHED_HPWORK SDIO_BLOCKSETUP
|
||||
Enable SD Card interface SDMMC0. Selects SAMA5_SDMMC SAMA5_SDMMC0 SAMA5_SDMMC_DMA SDIO_DMA SCHED_HPWORK SDIO_BLOCKSETUP
|
||||
|
||||
config SAMA5_SDMMC0
|
||||
bool "Enable SDMMC0 (built-in eMMC)"
|
||||
|
@ -106,8 +106,7 @@ config USBHOST_MSC
|
||||
default n
|
||||
depends on !BULK_DISABLE
|
||||
---help---
|
||||
Enable support for the mass storage class driver. This also depends on
|
||||
SCHED_WORKQUEUE=y
|
||||
Enable support for the mass storage class driver.
|
||||
|
||||
config USBHOST_MSC_NOTIFIER
|
||||
bool "Support USB Mass Storage notifications"
|
||||
@ -294,8 +293,7 @@ config USBHOST_HIDKBD
|
||||
default n
|
||||
depends on !INT_DISABLE
|
||||
---help---
|
||||
Enable support for the keyboard class driver. This also depends on
|
||||
SCHED_WORKQUEUE
|
||||
Enable support for the keyboard class driver.
|
||||
|
||||
if USBHOST_HIDKBD
|
||||
|
||||
@ -372,8 +370,7 @@ config USBHOST_HIDMOUSE
|
||||
select INPUT
|
||||
select INPUT_MOUSE
|
||||
---help---
|
||||
Enable support for the mouse class driver. This also depends on
|
||||
SCHED_WORKQUEUE
|
||||
Enable support for the mouse class driver.
|
||||
|
||||
NOTE: This driver checks out on a Labtec and an AOpen mouse, but
|
||||
does not work correctly on a Microsoft mouse. A little more work
|
||||
|
@ -16,7 +16,6 @@ config WL_CC1101
|
||||
default n
|
||||
select SPI
|
||||
select SCHED_HPWORK
|
||||
select SCHED_LPWORK
|
||||
|
||||
if WL_CC1101
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
config FS_AIO
|
||||
bool "Asynchronous I/O support"
|
||||
default n
|
||||
depends on SCHED_LPWORK
|
||||
depends on SCHED_WORKQUEUE
|
||||
---help---
|
||||
Enable support for aynchronous I/O. This selection enables the
|
||||
interfaces declared in include/aio.h.
|
||||
|
@ -57,10 +57,6 @@
|
||||
# error Asynchronous I/O requires CONFIG_SCHED_WORKQUEUE
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SCHED_LPWORK
|
||||
# error Asynchronous I/O requires CONFIG_SCHED_LPWORK
|
||||
#endif
|
||||
|
||||
/* Standard Definitions *****************************************************/
|
||||
|
||||
/* aio_cancel return values
|
||||
|
@ -9,7 +9,7 @@ config NET_TCP
|
||||
bool "TCP/IP Networking"
|
||||
default n
|
||||
select NET_READAHEAD if !NET_TCP_NO_STACK
|
||||
depends on SCHED_LPWORK
|
||||
depends on SCHED_WORKQUEUE
|
||||
---help---
|
||||
Enable or disable TCP networking support.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user