aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/i2c/i2c-core-base.c
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2020-01-14 04:34:39 +0300
committerWolfram Sang <wsa@the-dreams.de>2020-01-15 18:32:15 +0100
commitae6028a65582118d8e8f5fa3c72524b44a878d1d (patch)
treec3416effa6b86e1e55d4d32fc9dcd881e095324f /drivers/i2c/i2c-core-base.c
parenti2c: tegra: Support atomic transfers (diff)
downloadwireguard-linux-ae6028a65582118d8e8f5fa3c72524b44a878d1d.tar.xz
wireguard-linux-ae6028a65582118d8e8f5fa3c72524b44a878d1d.zip
i2c: tegra: Rename I2C_PIO_MODE_MAX_LEN to I2C_PIO_MODE_PREFERRED_LEN
DMA is preferred for a larger transfers, while PIO is preferred for a smaller transfers to avoid unnecessary DMA overhead. There is no strict size limitations for the PIO-mode transfers, so let's rename the constant for clarity. Tested-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/i2c-core-base.c')
0 files changed, 0 insertions, 0 deletions