Message ID | 004901d1837a$2df9f620$89ede260$@codeaurora.org (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
> enabled. I have patch like below to fix it, but wanted to ask you if it > would correct to have this in the > original patch or should I sent a separate fix ? Sorry for the mess on this. Once a patch is applied, it is in linux-next, so you need to send incremental patches to fix things.
diff --git a/drivers/i2c/busses/i2c-qup.c b/drivers/i2c/busses/i2c-qup.c index 23eaabb..a1fae0c 100644 --- a/drivers/i2c/busses/i2c-qup.c +++ b/drivers/i2c/busses/i2c-qup.c @@ -595,9 +595,6 @@ static int qup_sg_set_buf(struct scatterlist *sg, void *buf, if (!ret) return -EINVAL; - if (!map) - sg_dma_address(sg) = tg->addr + ((u8 *)buf - tg->start); - return 0; }