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

Commit 2aa473ca authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "i2c: qcom: geni: use geni device ptr for dma mapping"

parents c26f9e16 8d81b53c
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -469,8 +469,8 @@ static int geni_i2c_gsi_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[],
		int stretch = (i < (num - 1));
		int stretch = (i < (num - 1));
		dma_cookie_t tx_cookie, rx_cookie;
		dma_cookie_t tx_cookie, rx_cookie;
		struct msm_gpi_tre *go_t = &gi2c->go_t;
		struct msm_gpi_tre *go_t = &gi2c->go_t;
		struct device *rx_dev = gi2c->rx_c->device->dev;
		struct device *rx_dev = gi2c->dev;
		struct device *tx_dev = gi2c->tx_c->device->dev;
		struct device *tx_dev = gi2c->dev;


		gi2c->cur = &msgs[i];
		gi2c->cur = &msgs[i];
		if (!gi2c->cfg_sent) {
		if (!gi2c->cfg_sent) {