mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: dongfengweixiao@gmail.com
To: jdelvare@suse.com, linux@roeck-us.ne
Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org,
	"Dee.H.Y" <dongfengweixiao@gmail.com>
Subject: [PATCH] hwmon: (corsair-cpro) Change dependency from HID to HIDRAW
Date: Wed, 18 Jun 2025 15:28:45 +0800	[thread overview]
Message-ID: <20250618072845.233204-1-dongfengweixiao@gmail.com> (raw)

From: "Dee.H.Y" <dongfengweixiao@gmail.com>

This patch updates the dependency of the CORSAIR_CPRO driver in the
hwmon subsystem. Previously, the driver relied on HID, but now it
depends on HIDRAW. This change is aligned with the implementation
in the `ccp_probe()` function, where `HID_CONNECT_HIDRAW` is used,
indicating that the HID raw interface is required for proper operation.

Signed-off-by: Dee.H.Y <dongfengweixiao@gmail.com>
---
 drivers/hwmon/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index 08a3c863f80a..3f128cacb486 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -475,7 +475,7 @@ config SENSORS_CHIPCAP2
 
 config SENSORS_CORSAIR_CPRO
 	tristate "Corsair Commander Pro controller"
-	depends on HID
+	depends on HIDRAW
 	help
 	  If you say yes here you get support for the Corsair Commander Pro
 	  controller.
-- 
2.49.0


             reply	other threads:[~2025-06-18  7:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-18  7:28 dongfengweixiao [this message]
2025-06-18 15:41 ` Guenter Roeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250618072845.233204-1-dongfengweixiao@gmail.com \
    --to=dongfengweixiao@gmail.com \
    --cc=jdelvare@suse.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.ne \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®