HID: add USB_HID dependancy to hid-prod(CR)
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Dec 2021 08:12:31 +0000 (09:12 +0100)
committerPDO SCM Team <hudsoncm@motorola.com>
Tue, 14 Jun 2022 06:59:38 +0000 (01:59 -0500)
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 <lkp@intel.com>
Cc: stable@vger.kernel.org
Cc: Jiri Kosina <j(CR)@kernel.org>
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Link: https://lore.kernel.org/r/20211203081231.2856936-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Gajjala Chakradhar <gajjalac@motorola.com>
Reviewed-on: https://gerrit.mot.com/2276107
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

drivers/hid/Kconfig

index 6dfccc3bc9628fff93d33f06486f09d18c64339d..4d588392fdb08ac1b7c47e44e38325b972cc41d3 100644 (file)
@@ -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.