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

Commit 737a7c43 authored by John Crispin's avatar John Crispin Committed by Grant Likely
Browse files

spi/mips-lantiq: make use of spi_finalize_current_message



Rather than calling m->complete() directly we choose the sane way and call
spi_finalize_current_message instead.

Signed-off-by: default avatarThomas Langer <thomas.langer@lantiq.com>
Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent b17de076
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -398,7 +398,7 @@ static int falcon_sflash_xfer_one(struct spi_master *master,
	}

	m->status = ret;
	m->complete(m->context);
	spi_finalize_current_message(master);

	return 0;
}