Re: [PATCH v2] Input: elants_i2c - Use DMA safe i2c when possible
From: Wolfram Sang <hidden>
Date: 2018-10-11 07:30:02
Also in:
lkml
Attachments
- signature.asc [application/pgp-signature] 833 bytes
From: Wolfram Sang <hidden>
Date: 2018-10-11 07:30:02
Also in:
lkml
On Wed, Oct 10, 2018 at 01:00:17PM -0700, Stephen Boyd wrote:
This irq handler is always reading bytes from the device into a kmalloced buffer, so it's safe to mark this transaction as DMA safe. This avoids bouncing the buffer when an i2c controller decides to use DMA for a transaction. Cc: Wolfram Sang <redacted> Signed-off-by: Stephen Boyd <redacted>
For the record: Acked-by: Wolfram Sang <redacted>