mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
i2c: owl: Enable asynchronous probing
Speed up the boot process by using the asynchronous probing feature supported by the recent kernels. For SBCs based on the Actions Semi S500 SoC, the overall boot time is expected to be reduced by 200-300 ms. Suggested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Wolfram Sang <wsa@kernel.org>
This commit is contained in:
parent
b8be24ec67
commit
46f8bfebf3
1 changed files with 1 additions and 0 deletions
|
@ -519,6 +519,7 @@ static struct platform_driver owl_i2c_driver = {
|
|||
.driver = {
|
||||
.name = "owl-i2c",
|
||||
.of_match_table = of_match_ptr(owl_i2c_of_match),
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
},
|
||||
};
|
||||
module_platform_driver(owl_i2c_driver);
|
||||
|
|
Loading…
Reference in a new issue