Commit 83e14cf
PCI: apple: Reorder & improve link-up logic
Always re-check LINKSTS right before deciding whether to start the link
training and wait for it, just in case the link happened to come up
while we were setting up IRQs. Also, always do the clock-gate disable
even if the link is already up.
Signed-off-by: Hector Martin <marcan@marcan.st>1 parent e0b63a2 commit 83e14cf
1 file changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
736 | 736 | | |
737 | 737 | | |
738 | 738 | | |
739 | | - | |
740 | | - | |
741 | | - | |
742 | | - | |
743 | | - | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
744 | 743 | | |
745 | | - | |
746 | | - | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
747 | 747 | | |
748 | 748 | | |
749 | 749 | | |
| |||
0 commit comments