summaryrefslogtreecommitdiff
path: root/src/superio/ite/it8716f/superio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/ite/it8716f/superio.c')
-rw-r--r--src/superio/ite/it8716f/superio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/superio/ite/it8716f/superio.c b/src/superio/ite/it8716f/superio.c
index 54e640f913..c7109465b5 100644
--- a/src/superio/ite/it8716f/superio.c
+++ b/src/superio/ite/it8716f/superio.c
@@ -122,7 +122,7 @@ static void it8716f_pnp_enable(device_t dev)
{
pnp_enter_ext_func_mode(dev);
pnp_set_logical_device(dev);
- pnp_set_enable(dev, dev->enabled);
+ pnp_set_enable(dev, !!dev->enabled);
pnp_exit_ext_func_mode(dev);
}