i2c: tegra: Avoid tegra_i2c_init_dma() for Tegra210 vi i2c
authorSowjanya Komatineni <skomatineni@nvidia.com>
Mon, 27 Jul 2020 20:57:23 +0000 (13:57 -0700)
committerWolfram Sang <wsa@kernel.org>
Tue, 28 Jul 2020 16:32:54 +0000 (18:32 +0200)
commitafca861bc6a3141c858d08279eb9afca76584fa6
tree55a982d5e0296b08b3622d326bf730a7675455eb
parent0d722620986722208c6bc2a67f5d68aa73b7cd5f
i2c: tegra: Avoid tegra_i2c_init_dma() for Tegra210 vi i2c

VI I2C is on host1x bus so APB DMA can't be used for Tegra210 VI
I2C and there are no tx and rx dma channels for VI I2C.

So, avoid attempt of requesting DMA channels.

Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-tegra.c