summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/msrtool/cs5536.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/util/msrtool/cs5536.c b/util/msrtool/cs5536.c
index d441891a3f..1b512a1a8d 100644
--- a/util/msrtool/cs5536.c
+++ b/util/msrtool/cs5536.c
@@ -20,8 +20,7 @@
#include "msrtool.h"
int cs5536_probe(const struct targetdef *target) {
- /* TODO: PCI 1022:2090 */
- return 0;
+ return (NULL != pci_dev_find(0x1022, 0x2090));
}
const struct msrdef cs5536_msrs[] = {