mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user