Input: elants_i2c - use DMA safe i2c when possible
authorStephen Boyd <swboyd@chromium.org>
Wed, 10 Oct 2018 22:50:50 +0000 (15:50 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 11 Oct 2018 00:10:40 +0000 (17:10 -0700)
commit00f73f97527f6ea8b4bc2bc63c44299bcc2f5cab
tree22cdc496989587a749f3cbbc745ca96a73dce36b
parentdde27443211062e841806feaf690674b7c3a599f
Input: elants_i2c - use DMA safe i2c when possible

To avoid bounce buffer when an i2c controller decides to use DMA for a
transaction, let's make out buffer that we use for reads DMA-safe and let
the master know that DMAing into it is safe.

Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/elants_i2c.c