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

Commit 682a71b2 authored by Nicholas Mc Guire's avatar Nicholas Mc Guire Committed by Mark Brown
Browse files

spi: match var type to return type of wait_for_completion



return type of wait_for_completion_timeout is unsigned long not int, this
patch changes the type of m from int to unsigned long.

Signed-off-by: default avatarNicholas Mc Guire <der.herr@hofr.at>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 97bf6af1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -788,7 +788,7 @@ static int spi_transfer_one_message(struct spi_master *master,
	struct spi_transfer *xfer;
	bool keep_cs = false;
	int ret = 0;
	int ms = 1;
	unsigned long ms = 1;

	spi_set_cs(msg->spi, true);