From 7d7743dadebbe87fc9bb54822041cc9e1c4fdda6 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Tue, 8 Aug 2023 11:02:41 +0200 Subject: [PATCH 1/2] kernel: Enable hwmon for nvme Expose the temperature sensors as hwmon, it improves the overall user experience since on tiny boards the nvme can become a substantial source of heat. Signed-off-by: Luca Barbato Reviewed-by: Robert Marko --- package/kernel/linux/modules/block.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kernel/linux/modules/block.mk b/package/kernel/linux/modules/block.mk index a9efde6a392731..7b74b6de40df30 100644 --- a/package/kernel/linux/modules/block.mk +++ b/package/kernel/linux/modules/block.mk @@ -496,12 +496,12 @@ $(eval $(call KernelPackage,nbd)) define KernelPackage/nvme SUBMENU:=$(BLOCK_MENU) TITLE:=NVM Express block device - DEPENDS:=@PCI_SUPPORT + DEPENDS:=@PCI_SUPPORT +kmod-hwmon-core KCONFIG:= \ CONFIG_NVME_CORE \ CONFIG_BLK_DEV_NVME \ CONFIG_NVME_MULTIPATH=n \ - CONFIG_NVME_HWMON=n + CONFIG_NVME_HWMON=y FILES:= \ $(LINUX_DIR)/drivers/nvme/host/nvme-core.ko \ $(LINUX_DIR)/drivers/nvme/host/nvme.ko From fd7b5ec17a65b88cf83e5a9b5bf38a9cfde23df5 Mon Sep 17 00:00:00 2001 From: Liangbin Lian Date: Wed, 18 Oct 2023 10:04:34 +0800 Subject: [PATCH 2/2] kernel: usb-audio remove Kconfig USB_AUDIO CONFIG_USB_AUDIO is a "USB Audio Gadget" driver, not a usb device driver CONFIG_USB_AUDIO is "USB Audio support" before linux 2.6 Signed-off-by: Liangbin Lian --- package/kernel/linux/modules/usb.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index 97b2d0013be30d..6429d58a08dd3a 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -545,7 +545,6 @@ $(eval $(call KernelPackage,usb-wdm)) define KernelPackage/usb-audio TITLE:=Support for USB audio devices KCONFIG:= \ - CONFIG_USB_AUDIO \ CONFIG_SND_USB=y \ CONFIG_SND_USB_AUDIO $(call AddDepends/usb)