Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7086e6e5 authored by Justin P. Mattock's avatar Justin P. Mattock Committed by Greg Kroah-Hartman
Browse files

staging: "rts5139" Fix typos.

parent 1d73fad8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3149,7 +3149,7 @@ static int ms_read_multiple_pages(struct rts51x_chip *chip, u16 phy_blk,
		TRACE_RET(chip, STATUS_FAIL);

	sec_cnt = chip->rsp_buf[0];
	RTS51X_DEBUGP("%d pages need be trasferred, %d pages remained\n",
	RTS51X_DEBUGP("%d pages need be transferred, %d pages remained\n",
		       (int)page_cnt, (int)sec_cnt);
	page_addr = start_page + (page_cnt - sec_cnt);

+1 −1
Original line number Diff line number Diff line
@@ -444,7 +444,7 @@ int mg_rsp(struct scsi_cmnd *srb, struct rts51x_chip *chip)
  *
  * Since the extra 4 bytes data is just only a prefix to original data
  * that read from medium, so that the 4-byte data pushed into Ring buffer
  * precedes data tramsinssion from medium to Ring buffer by DMA mechanisim
  * precedes data transmission from medium to Ring buffer by DMA mechanism
  * in order to get maximum performance and minimum code size simultaneously.
  */
int mg_get_ICV(struct scsi_cmnd *srb, struct rts51x_chip *chip)
+1 −1
Original line number Diff line number Diff line
@@ -418,7 +418,7 @@ static int rts51x_sg_wait(struct usb_sg_request *io, int timeout)
		 */
		spin_unlock_irq(&io->lock);
		switch (retval) {
			/* maybe we retrying will recover */
			/* maybe the retry will recover */
		case -ENXIO:	/* hc didn't queue this one */
		case -EAGAIN:
		case -ENOMEM:
+3 −3
Original line number Diff line number Diff line
@@ -2134,7 +2134,7 @@ int reset_sd(struct rts51x_chip *chip)
	sd_card->sd_addr += (u32) rsp[2] << 16;

	/* Get CSD register for Calculating Timing,Capacity,
	 * Check CSD to determaine as if this is the SD ROM card */
	 * Check CSD to determine as if this is the SD ROM card */
	retval = sd_check_csd(chip, 1);
	if (retval != STATUS_SUCCESS)
		TRACE_RET(chip, retval);
@@ -2648,7 +2648,7 @@ static int reset_mmc(struct rts51x_chip *chip)
		TRACE_RET(chip, retval);

	/* Get CSD register for Calculating Timing,Capacity
	 * Check CSD to determaine as if this is the SD ROM card */
	 * Check CSD to determine as if this is the SD ROM card */
	retval = sd_check_csd(chip, 1);
	if (retval != STATUS_SUCCESS)
		TRACE_RET(chip, retval);
@@ -3225,7 +3225,7 @@ int release_sd_card(struct rts51x_chip *chip)
	struct sd_info *sd_card = &(chip->sd_card);
	int retval;

	RTS51X_DEBUGP("elease_sd_card\n");
	RTS51X_DEBUGP("release_sd_card\n");

	chip->card_ready &= ~SD_CARD;
	chip->card_fail &= ~SD_CARD;
+1 −1
Original line number Diff line number Diff line
@@ -2120,7 +2120,7 @@ int release_xd_card(struct rts51x_chip *chip)
	struct xd_info *xd_card = &(chip->xd_card);
	int retval;

	RTS51X_DEBUGP("elease_xd_card\n");
	RTS51X_DEBUGP("release_xd_card\n");

	chip->card_ready &= ~XD_CARD;
	chip->card_fail &= ~XD_CARD;
+1 −1

File changed.

Contains only whitespace changes.

Loading