staging:rts_pstor:Fix unbalanced parentheses
Signed-off-by: wwang <wei_wang@realsil.com.cn> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1c3a4dc3d0
commit
e06d9b3e6c
|
@ -4135,7 +4135,7 @@ int mg_set_ICV(struct scsi_cmnd *srb, struct rtsx_chip *chip)
|
||||||
#else
|
#else
|
||||||
retval = ms_transfer_data(chip, MS_TM_AUTO_WRITE, PRO_WRITE_LONG_DATA,
|
retval = ms_transfer_data(chip, MS_TM_AUTO_WRITE, PRO_WRITE_LONG_DATA,
|
||||||
2, WAIT_INT, 0, 0, buf + 4, 1024);
|
2, WAIT_INT, 0, 0, buf + 4, 1024);
|
||||||
if ((retval != STATUS_SUCCESS) || check_ms_err(chip) {
|
if ((retval != STATUS_SUCCESS) || check_ms_err(chip)) {
|
||||||
rtsx_clear_ms_error(chip);
|
rtsx_clear_ms_error(chip);
|
||||||
if (ms_card->mg_auth == 0) {
|
if (ms_card->mg_auth == 0) {
|
||||||
if ((buf[5] & 0xC0) != 0) {
|
if ((buf[5] & 0xC0) != 0) {
|
||||||
|
|
Loading…
Reference in a new issue