Add missing delay after card reset.
This fixes randoms lockups when probing the card at boot time, when more than 1 similar card is found in the machine. Reviewed by: semenu
This commit is contained in:
parent
82e691e492
commit
5bdaf1e43b
@ -768,6 +768,7 @@ epic_common_attach(sc)
|
||||
|
||||
/* Bring the chip out of low-power mode. */
|
||||
CSR_WRITE_4( sc, GENCTL, GENCTL_SOFT_RESET);
|
||||
DELAY(500);
|
||||
|
||||
/* Workaround for Application Note 7-15 */
|
||||
for (i=0; i<16; i++) CSR_WRITE_4(sc, TEST1, TEST1_CLOCK_TEST);
|
||||
|
@ -768,6 +768,7 @@ epic_common_attach(sc)
|
||||
|
||||
/* Bring the chip out of low-power mode. */
|
||||
CSR_WRITE_4( sc, GENCTL, GENCTL_SOFT_RESET);
|
||||
DELAY(500);
|
||||
|
||||
/* Workaround for Application Note 7-15 */
|
||||
for (i=0; i<16; i++) CSR_WRITE_4(sc, TEST1, TEST1_CLOCK_TEST);
|
||||
|
Loading…
Reference in New Issue
Block a user