Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1663372
| From | Andy Shevchenko <andy.shevchenko@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] i2c: ismt: fix wrong device address when unmap the data buffer |
| Date | 2017-06-12 11:50 +0200 |
| Message-ID | <tRu8V-p0-3@gated-at.bofh.it> (permalink) |
| References | <tRowy-5la-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Jun 12, 2017 at 6:42 AM, Song liwei <liwei.song@windriver.com> wrote:
> From: Liwei Song <liwei.song@windriver.com>
Btw, it seems it has to include Fixes tag.
> Signed-off-by: Liwei Song <liwei.song@windriver.com>
> ---
> drivers/i2c/busses/i2c-ismt.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/i2c/busses/i2c-ismt.c b/drivers/i2c/busses/i2c-ismt.c
> index 1db3e0d..605d44e 100644
> --- a/drivers/i2c/busses/i2c-ismt.c
> +++ b/drivers/i2c/busses/i2c-ismt.c
> @@ -585,7 +585,7 @@ static int ismt_access(struct i2c_adapter *adap, u16 addr,
>
> /* unmap the data buffer */
> if (dma_size != 0)
> - dma_unmap_single(&adap->dev, dma_addr, dma_size, dma_direction);
> + dma_unmap_single(dev, dma_addr, dma_size, dma_direction);
>
> if (unlikely(!time_left)) {
> dev_err(dev, "completion wait timed out\n");
> --
> 2.7.4
>
--
With Best Regards,
Andy Shevchenko
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] i2c: ismt: fix wrong device address when unmap the data buffer Song liwei <liwei.song@windriver.com> - 2017-06-12 05:50 +0200
Re: [PATCH] i2c: ismt: fix wrong device address when unmap the data buffer Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-06-12 11:20 +0200
Re: [PATCH] i2c: ismt: fix wrong device address when unmap the data buffer Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-06-12 11:40 +0200
Re: [PATCH] i2c: ismt: fix wrong device address when unmap the data buffer Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-06-12 12:30 +0200
Re: [PATCH] i2c: ismt: fix wrong device address when unmap the data buffer Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-06-12 11:50 +0200
csiph-web