mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
spi: spi-rockchip-sfc: prefer asynchronous probing when CONFIG_ROCKCHIP_THUNDER_BOOT=y
Save boot time about 5ms on rv1126b-evb2-v10-tb-400w board. Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Change-Id: Ie70a3e96c88d71bbc78729cbc64ead792fe319fc
This commit is contained in:
@@ -1214,6 +1214,9 @@ static struct platform_driver rockchip_sfc_driver = {
|
||||
.name = "rockchip-sfc",
|
||||
.of_match_table = rockchip_sfc_dt_ids,
|
||||
.pm = &rockchip_sfc_pm_ops,
|
||||
#ifdef CONFIG_ROCKCHIP_THUNDER_BOOT
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
#endif
|
||||
},
|
||||
.probe = rockchip_sfc_probe,
|
||||
.remove = rockchip_sfc_remove,
|
||||
|
||||
Reference in New Issue
Block a user