* [PATCH] hwmon: (oxp-sensors) Add new DMI match for OXP Mini
@ 2023-05-17 18:35 Joaquín Ignacio Aramendía
2023-05-19 12:49 ` Guenter Roeck
0 siblings, 1 reply; 2+ messages in thread
From: Joaquín Ignacio Aramendía @ 2023-05-17 18:35 UTC (permalink / raw)
To: linux
Cc: Joaquín Ignacio Aramendía, derekjohn.clark, jdelvare,
linux-hwmon, linux-kernel
A newer BIOS version for the OneXPlayer Mini AMD modified vendor and
board name strings. Add those to the match table and set the same board
model as older OXP Mini AMD.
Signed-off-by: Joaquín Ignacio Aramendía <samsagax@gmail.com>
---
drivers/hwmon/oxp-sensors.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/hwmon/oxp-sensors.c b/drivers/hwmon/oxp-sensors.c
index 7828c1d36695..b52bf8c4768a 100644
--- a/drivers/hwmon/oxp-sensors.c
+++ b/drivers/hwmon/oxp-sensors.c
@@ -99,6 +99,13 @@ static const struct dmi_system_id dmi_table[] = {
},
.driver_data = (void *)oxp_mini_amd,
},
+ {
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"),
+ DMI_EXACT_MATCH(DMI_BOARD_NAME, "ONEXPLAYER mini A07"),
+ },
+ .driver_data = (void *)oxp_mini_amd,
+ },
{
.matches = {
DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"),
--
2.40.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-05-19 12:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-17 18:35 [PATCH] hwmon: (oxp-sensors) Add new DMI match for OXP Mini Joaquín Ignacio Aramendía
2023-05-19 12:49 ` Guenter Roeck
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®