From c4cf536c71abb5a1be93ba9089f761e0508a1ec1 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Fri, 3 Dec 2021 09:12:31 +0100 Subject: [PATCH] HID: add USB_HID dependancy to hid-prod(CR) commit 30cb3c2ad24b66fb7639a6d1f4390c74d6e68f94 upstream. The prod(CR) HID driver only controls USB devices, yet did not have a dependancy on USB_HID. This causes build errors on some configurations l(CR) nios2 when building due to new changes to the prod(CR) driver. Mot-CRs-fixed: (CR) CVE-Fixed: CVE-2022-20132 Bug: 188677105 Change-Id: I1b57166e88f9de611fb825a45c7de0830b72749c Reported-by: kernel test robot Cc: stable@vger.kernel.org Cc: Jiri Kosina Cc: Benjamin Tissoires Signed-off-by: Greg Kroah-Hartman Signed-off-by: Benjamin Tissoires Link: https://lore.kernel.org/r/20211203081231.2856936-1-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman Signed-off-by: Gajjala Chakradhar Reviewed-on: https://gerrit.mot.com/2276107 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key --- drivers/hid/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 6dfccc3bc962..4d588392fdb0 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig @@ -209,7 +209,7 @@ config HID_CORSAIR config HID_PRODIKEYS tristate "Prodikeys PC-MIDI Keyboard support" - depends on HID && SND + depends on USB_HID && SND select SND_RAWMIDI ---help--- Support for Prodikeys PC-MIDI Keyboard device support. -- 2.20.1