media: i2c: tc35874x: fix driver probe level

It will cause this sensor to fail to link to the vicap controller if
used late_initcall_sync. Because the probe level of vicap controller is
late_initcall.

Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
Change-Id: I74a4606f0af16d860d7b28ba311b14efeda0c225
This commit is contained in:
Jianwei Fan
2021-12-14 10:10:33 +08:00
parent 42aecd6060
commit a72739e96e

View File

@@ -2509,5 +2509,5 @@ static void __exit tc35874x_driver_exit(void)
i2c_del_driver(&tc35874x_driver);
}
late_initcall_sync(tc35874x_driver_init);
device_initcall_sync(tc35874x_driver_init);
module_exit(tc35874x_driver_exit);