• Ye Li's avatar
    MLK-14930-1 cmd: sata: Fix sata init and stop issue · 4045d108
    Ye Li authored
    When sata stop is executed, the sata_curr_device is not reset to -1, so
    any following sata commands will not initialize the sata again and cause
    Additional, in sata init implementation, the sata_curr_device should be updated,
    otherwise sata will be initialized again when doing other sata commands like
    Signed-off-by: default avatarYe Li <ye.li@nxp.com>
sata.c 3.51 KB