Loading drivers/dma/qcom/gpi.c +1 −1 Original line number Diff line number Diff line Loading @@ -2363,7 +2363,7 @@ struct dma_async_tx_descriptor *gpi_prep_slave_sg(struct dma_chan *chan, tre = sg_virt(sg); /* Check if last tre has ieob set */ if (sg_len != 1 && i == sg_len - 1) { if (i == sg_len - 1) { if ((((struct msm_gpi_tre *)tre)->dword[3] & GPI_IEOB_BMSK) >> GPI_IEOB_BMSK_SHIFT) gpii->ieob_set = true; Loading drivers/i2c/busses/i2c-qcom-geni.c +3 −7 Original line number Diff line number Diff line Loading @@ -405,7 +405,7 @@ static void gi2c_gsi_tx_cb(void *ptr) struct msm_gpi_dma_async_tx_cb_param *tx_cb = ptr; struct geni_i2c_dev *gi2c = tx_cb->userdata; if (tx_cb->completion_code == MSM_GPI_TCE_EOB && gi2c->is_shared) { if (tx_cb->completion_code == MSM_GPI_TCE_EOB) { complete(&gi2c->xfer); } else if (!(gi2c->cur->flags & I2C_M_RD)) { gi2c_gsi_cb_err(tx_cb, "TX"); Loading Loading @@ -553,12 +553,8 @@ static int geni_i2c_gsi_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], if (msgs[i].flags & I2C_M_RD) { go_t->dword[2] = MSM_GPI_I2C_GO_TRE_DWORD2(msgs[i].len); if (gi2c->is_shared) go_t->dword[3] = MSM_GPI_I2C_GO_TRE_DWORD3(1, 0, 0, 0, 0); else go_t->dword[3] = MSM_GPI_I2C_GO_TRE_DWORD3(1, 0, 0, 1, 0); go_t->dword[3] = MSM_GPI_I2C_GO_TRE_DWORD3(1, 0, 0, 0, 0); } else { go_t->dword[2] = MSM_GPI_I2C_GO_TRE_DWORD2(0); go_t->dword[3] = MSM_GPI_I2C_GO_TRE_DWORD3(0, 0, 0, 0, Loading Loading
drivers/dma/qcom/gpi.c +1 −1 Original line number Diff line number Diff line Loading @@ -2363,7 +2363,7 @@ struct dma_async_tx_descriptor *gpi_prep_slave_sg(struct dma_chan *chan, tre = sg_virt(sg); /* Check if last tre has ieob set */ if (sg_len != 1 && i == sg_len - 1) { if (i == sg_len - 1) { if ((((struct msm_gpi_tre *)tre)->dword[3] & GPI_IEOB_BMSK) >> GPI_IEOB_BMSK_SHIFT) gpii->ieob_set = true; Loading
drivers/i2c/busses/i2c-qcom-geni.c +3 −7 Original line number Diff line number Diff line Loading @@ -405,7 +405,7 @@ static void gi2c_gsi_tx_cb(void *ptr) struct msm_gpi_dma_async_tx_cb_param *tx_cb = ptr; struct geni_i2c_dev *gi2c = tx_cb->userdata; if (tx_cb->completion_code == MSM_GPI_TCE_EOB && gi2c->is_shared) { if (tx_cb->completion_code == MSM_GPI_TCE_EOB) { complete(&gi2c->xfer); } else if (!(gi2c->cur->flags & I2C_M_RD)) { gi2c_gsi_cb_err(tx_cb, "TX"); Loading Loading @@ -553,12 +553,8 @@ static int geni_i2c_gsi_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], if (msgs[i].flags & I2C_M_RD) { go_t->dword[2] = MSM_GPI_I2C_GO_TRE_DWORD2(msgs[i].len); if (gi2c->is_shared) go_t->dword[3] = MSM_GPI_I2C_GO_TRE_DWORD3(1, 0, 0, 0, 0); else go_t->dword[3] = MSM_GPI_I2C_GO_TRE_DWORD3(1, 0, 0, 1, 0); go_t->dword[3] = MSM_GPI_I2C_GO_TRE_DWORD3(1, 0, 0, 0, 0); } else { go_t->dword[2] = MSM_GPI_I2C_GO_TRE_DWORD2(0); go_t->dword[3] = MSM_GPI_I2C_GO_TRE_DWORD3(0, 0, 0, 0, Loading