Commit 1e42bbc
committed
drivers: i2c: andes: using subsys_initcall (torvalds#136) fix bug30592
Because the i2c bus driver needs to bring up other drivers, it should
use subsys_initcall. The procedure declared as subsys_initcall is
guaranteed to be executed before the procedure declared as module_init.
http://e-andes.andestech.com/bugzilla5/show_bug.cgi?id=30592
Test on Bigorca with Ax27L2 bitmap
Reviewed-on: https://gitea.andestech.com/RD-SW/linux/pulls/136
Reviewed-by: Tim Shih-Ting OuYang <[email protected]>
Reviewed-by: CL Chin-Long Wang <[email protected]>
Signed-off-by: Randolph <[email protected]>1 parent b57a6d3 commit 1e42bbc
1 file changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
530 | | - | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
531 | 543 | | |
532 | 544 | | |
533 | 545 | | |
| |||
0 commit comments