diff options
author | Mason Zhang <Mason.Zhang@mediatek.com> | 2021-07-13 19:42:48 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-07-14 13:29:06 +0100 |
commit | c934fec1c32840224fd975544c347823962193b2 (patch) | |
tree | a8453569922abe88fb9aa660d607109603630cae /lib/mpi/mpicoder.c | |
parent | 3a70dd2d050331ee4cf5ad9d5c0a32d83ead9a43 (diff) |
spi: mediatek: move devm_spi_register_master position
This patch move devm_spi_register_master to the end of mtk_spi_probe.
If slaves call spi_sync in there probe function, master should have probe done.
Signed-off-by: Mason Zhang <Mason.Zhang@mediatek.com>
Link: https://lore.kernel.org/r/20210713114247.1536-1-mason.zhang@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions