diff options
Diffstat (limited to 'drivers/memstick')
-rw-r--r-- | drivers/memstick/core/ms_block.c | 4 | ||||
-rw-r--r-- | drivers/memstick/core/ms_block.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/memstick/core/ms_block.c b/drivers/memstick/core/ms_block.c index 9188ef5d677e..24f2f8473dee 100644 --- a/drivers/memstick/core/ms_block.c +++ b/drivers/memstick/core/ms_block.c | |||
@@ -401,10 +401,10 @@ again: | |||
401 | sizeof(struct ms_status_register))) | 401 | sizeof(struct ms_status_register))) |
402 | return 0; | 402 | return 0; |
403 | 403 | ||
404 | msb->state = MSB_RP_RECIVE_STATUS_REG; | 404 | msb->state = MSB_RP_RECEIVE_STATUS_REG; |
405 | return 0; | 405 | return 0; |
406 | 406 | ||
407 | case MSB_RP_RECIVE_STATUS_REG: | 407 | case MSB_RP_RECEIVE_STATUS_REG: |
408 | msb->regs.status = *(struct ms_status_register *)mrq->data; | 408 | msb->regs.status = *(struct ms_status_register *)mrq->data; |
409 | msb->state = MSB_RP_SEND_OOB_READ; | 409 | msb->state = MSB_RP_SEND_OOB_READ; |
410 | /* fallthrough */ | 410 | /* fallthrough */ |
diff --git a/drivers/memstick/core/ms_block.h b/drivers/memstick/core/ms_block.h index 96e637550988..c75198dbf139 100644 --- a/drivers/memstick/core/ms_block.h +++ b/drivers/memstick/core/ms_block.h | |||
@@ -223,7 +223,7 @@ enum msb_readpage_states { | |||
223 | MSB_RP_RECEIVE_INT_REQ_RESULT, | 223 | MSB_RP_RECEIVE_INT_REQ_RESULT, |
224 | 224 | ||
225 | MSB_RP_SEND_READ_STATUS_REG, | 225 | MSB_RP_SEND_READ_STATUS_REG, |
226 | MSB_RP_RECIVE_STATUS_REG, | 226 | MSB_RP_RECEIVE_STATUS_REG, |
227 | 227 | ||
228 | MSB_RP_SEND_OOB_READ, | 228 | MSB_RP_SEND_OOB_READ, |
229 | MSB_RP_RECEIVE_OOB_READ, | 229 | MSB_RP_RECEIVE_OOB_READ, |