Commit dc91e2f1 authored by Devin J. Pohly's avatar Devin J. Pohly Committed by Greg Kroah-Hartman

staging: mei: fix typo in error code return

~ENODEV is a different number than -ENODEV
Signed-off-by: default avatarDevin J. Pohly <djpohly@gmail.com>
Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ca923ef9
......@@ -1280,7 +1280,7 @@ static int mei_irq_thread_write_handler(struct mei_io_list *cmpl_list,
}
}
if (dev->stop)
return ~ENODEV;
return -ENODEV;
/* complete control write list CB */
dev_dbg(&dev->pdev->dev, "complete control write list cb.\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment