Skip to content

Commit

Permalink
drivers/memstick/core/ms_block.c: fix spelling of MSB_RP_RECIVE_STATU…
Browse files Browse the repository at this point in the history
…S_REG

Cc: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Nov 15, 2013
1 parent 4fbf888 commit a0dce7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions drivers/memstick/core/ms_block.c
Original file line number Diff line number Diff line change
Expand Up @@ -401,10 +401,10 @@ static int h_msb_read_page(struct memstick_dev *card,
sizeof(struct ms_status_register)))
return 0;

msb->state = MSB_RP_RECIVE_STATUS_REG;
msb->state = MSB_RP_RECEIVE_STATUS_REG;
return 0;

case MSB_RP_RECIVE_STATUS_REG:
case MSB_RP_RECEIVE_STATUS_REG:
msb->regs.status = *(struct ms_status_register *)mrq->data;
msb->state = MSB_RP_SEND_OOB_READ;
/* fallthrough */
Expand Down
2 changes: 1 addition & 1 deletion drivers/memstick/core/ms_block.h
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ enum msb_readpage_states {
MSB_RP_RECEIVE_INT_REQ_RESULT,

MSB_RP_SEND_READ_STATUS_REG,
MSB_RP_RECIVE_STATUS_REG,
MSB_RP_RECEIVE_STATUS_REG,

MSB_RP_SEND_OOB_READ,
MSB_RP_RECEIVE_OOB_READ,
Expand Down

0 comments on commit a0dce7f

Please sign in to comment.