Commits
Ye Li committed aefaf1b93a5
MLK-14930-1 cmd: sata: Fix sata init and stop issue 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 problem. Additional, in sata init implementation, the sata_curr_device should be updated, otherwise sata will be initialized again when doing other sata commands like read/write/info/part/device. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 9bccfd01c618a5d059f332c000c42e5bf39880d9) (cherry picked from commit f162bbb14b5c9b0c4073eee5ceeea6a9d1780394)