2014-11-04 17:32:55

by Aravind Gopalakrishnan

[permalink] [raw]
Subject: [PATCH] hwmon, fam15h_power: Fix NB device ID for F16h M30h

F3 device ID is wrongly included in fam15h_power_id_table
for F16h M30h. It should be F4 device ID. Fix this.

Signed-off-by: Aravind Gopalakrishnan <[email protected]>
---
drivers/hwmon/fam15h_power.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hwmon/fam15h_power.c b/drivers/hwmon/fam15h_power.c
index fcdbde4..3057dfc 100644
--- a/drivers/hwmon/fam15h_power.c
+++ b/drivers/hwmon/fam15h_power.c
@@ -234,7 +234,7 @@ static const struct pci_device_id fam15h_power_id_table[] = {
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_15H_NB_F4) },
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_15H_M30H_NB_F4) },
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_16H_NB_F4) },
- { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_16H_M30H_NB_F3) },
+ { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_16H_M30H_NB_F4) },
{}
};
MODULE_DEVICE_TABLE(pci, fam15h_power_id_table);
--
2.1.0


2014-11-04 21:25:12

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH] hwmon, fam15h_power: Fix NB device ID for F16h M30h

On Tue, Nov 04, 2014 at 11:49:02AM -0600, Aravind Gopalakrishnan wrote:
> F3 device ID is wrongly included in fam15h_power_id_table
> for F16h M30h. It should be F4 device ID. Fix this.
>
> Signed-off-by: Aravind Gopalakrishnan <[email protected]>

Applied.

Thanks,
Guenter