summaryrefslogtreecommitdiff
path: root/src/superio/ite/it8712f/superio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/ite/it8712f/superio.c')
-rw-r--r--src/superio/ite/it8712f/superio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/superio/ite/it8712f/superio.c b/src/superio/ite/it8712f/superio.c
index 67bbac4403..c84a92916f 100644
--- a/src/superio/ite/it8712f/superio.c
+++ b/src/superio/ite/it8712f/superio.c
@@ -99,7 +99,7 @@ static void it8712f_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);
}