Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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");