Re: [PATCH v7 21/34] i2c: tegra: Don't fall back to PIO mode if DMA configuration fails

2020-09-21 Thread Thierry Reding
On Thu, Sep 17, 2020 at 06:03:04PM +0300, Dmitry Osipenko wrote: > 17.09.2020 14:47, Thierry Reding пишет: > > On Wed, Sep 09, 2020 at 01:39:53AM +0300, Dmitry Osipenko wrote: > >> The DMA code path has been tested well enough and the DMA configuration > >> performed by

Re: [PATCH v7 21/34] i2c: tegra: Don't fall back to PIO mode if DMA configuration fails

2020-09-21 Thread Thierry Reding
On Wed, 09 Sep 2020 01:39:53 +0300, Dmitry Osipenko wrote: > The DMA code path has been tested well enough and the DMA configuration > performed by tegra_i2c_config_fifo_trig() shouldn't ever fail in practice. > Hence let's remove the obscure transfer-mode switching in order to have a > cleaner

Re: [PATCH v7 21/34] i2c: tegra: Don't fall back to PIO mode if DMA configuration fails

2020-09-17 Thread Dmitry Osipenko
17.09.2020 14:47, Thierry Reding пишет: > On Wed, Sep 09, 2020 at 01:39:53AM +0300, Dmitry Osipenko wrote: >> The DMA code path has been tested well enough and the DMA configuration >> performed by tegra_i2c_config_fifo_trig() shouldn't ever fail in practice. >> Hence let's remove the obscure

Re: [PATCH v7 21/34] i2c: tegra: Don't fall back to PIO mode if DMA configuration fails

2020-09-17 Thread Thierry Reding
On Wed, Sep 09, 2020 at 01:39:53AM +0300, Dmitry Osipenko wrote: > The DMA code path has been tested well enough and the DMA configuration > performed by tegra_i2c_config_fifo_trig() shouldn't ever fail in practice. > Hence let's remove the obscure transfer-mode switching in order to have a >

[PATCH v7 21/34] i2c: tegra: Don't fall back to PIO mode if DMA configuration fails

2020-09-08 Thread Dmitry Osipenko
The DMA code path has been tested well enough and the DMA configuration performed by tegra_i2c_config_fifo_trig() shouldn't ever fail in practice. Hence let's remove the obscure transfer-mode switching in order to have a cleaner and simpler code. Now I2C transfer will be failed if DMA