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

Commit f09a7931 authored by Ulf Hansson's avatar Ulf Hansson
Browse files

Merge branch 'fixes' into next

parents a677b67b 47b7de2f
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -540,6 +540,7 @@ static int dw_mci_idmac_init(struct dw_mci *host)
					(sizeof(struct idmac_desc_64addr) *
							(i + 1))) >> 32;
			/* Initialize reserved and buffer size fields to "0" */
			p->des0 = 0;
			p->des1 = 0;
			p->des2 = 0;
			p->des3 = 0;
@@ -562,6 +563,7 @@ static int dw_mci_idmac_init(struct dw_mci *host)
		     i++, p++) {
			p->des3 = cpu_to_le32(host->sg_dma +
					(sizeof(struct idmac_desc) * (i + 1)));
			p->des0 = 0;
			p->des1 = 0;
		}

@@ -1777,8 +1779,8 @@ static bool dw_mci_reset(struct dw_mci *host)
	}

	if (host->use_dma == TRANS_MODE_IDMAC)
		/* It is also recommended that we reset and reprogram idmac */
		dw_mci_idmac_reset(host);
		/* It is also required that we reinit idmac */
		dw_mci_idmac_init(host);

	ret = true;