Commit 3c9fa45
committed
tree: only open controller device node if required
Opening the controller device will fail if the controller is resetting,
so trying to open it during controller initialisation will fail, and
the controller will not displayed correctly.
So only try to open the controller device if required, allowing the
initialisation to continue.
Signed-off-by: Hannes Reinecke <[email protected]>1 parent 53ab58c commit 3c9fa45
1 file changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
633 | 639 | | |
634 | 640 | | |
635 | 641 | | |
| |||
1106 | 1112 | | |
1107 | 1113 | | |
1108 | 1114 | | |
| 1115 | + | |
| 1116 | + | |
1109 | 1117 | | |
1110 | 1118 | | |
1111 | 1119 | | |
1112 | 1120 | | |
1113 | 1121 | | |
1114 | | - | |
1115 | | - | |
1116 | | - | |
1117 | | - | |
| 1122 | + | |
1118 | 1123 | | |
1119 | 1124 | | |
1120 | 1125 | | |
| |||
0 commit comments