Re: [PATCH V2] i2c: tegra: disable irq in tegra_i2c_xfer_msg

2019-06-19 Thread Dmitry Osipenko
19.06.2019 12:02, Dmitry Osipenko пишет: > 19.06.2019 11:58, Jon Hunter пишет: >> >> On 18/06/2019 19:26, Dmitry Osipenko wrote: >>> 18.06.2019 11:42, Bitan Biswas пишет: tegra_i2c_xfer_msg initiates the I2C transfer in DMA or PIO mode. It involves steps that need FIFO register

Re: [PATCH V2] i2c: tegra: disable irq in tegra_i2c_xfer_msg

2019-06-19 Thread Dmitry Osipenko
19.06.2019 11:58, Jon Hunter пишет: > > On 18/06/2019 19:26, Dmitry Osipenko wrote: >> 18.06.2019 11:42, Bitan Biswas пишет: >>> tegra_i2c_xfer_msg initiates the I2C transfer in DMA >>> or PIO mode. It involves steps that need FIFO register >>> access, DMA API calls like

Re: [PATCH V2] i2c: tegra: disable irq in tegra_i2c_xfer_msg

2019-06-19 Thread Jon Hunter
On 18/06/2019 19:26, Dmitry Osipenko wrote: > 18.06.2019 11:42, Bitan Biswas пишет: >> tegra_i2c_xfer_msg initiates the I2C transfer in DMA >> or PIO mode. It involves steps that need FIFO register >> access, DMA API calls like dma_sync_single_for_device, etc. >> Tegra I2C ISR has calls to

Re: [PATCH V2] i2c: tegra: disable irq in tegra_i2c_xfer_msg

2019-06-18 Thread Dmitry Osipenko
18.06.2019 12:13, Jon Hunter пишет: > > On 18/06/2019 09:42, Bitan Biswas wrote: >> tegra_i2c_xfer_msg initiates the I2C transfer in DMA >> or PIO mode. It involves steps that need FIFO register >> access, DMA API calls like dma_sync_single_for_device, etc. >> Tegra I2C ISR has calls to

Re: [PATCH V2] i2c: tegra: disable irq in tegra_i2c_xfer_msg

2019-06-18 Thread Dmitry Osipenko
18.06.2019 11:42, Bitan Biswas пишет: > tegra_i2c_xfer_msg initiates the I2C transfer in DMA > or PIO mode. It involves steps that need FIFO register > access, DMA API calls like dma_sync_single_for_device, etc. > Tegra I2C ISR has calls to tegra_i2c_empty_rx_fifo in PIO mode > and in DMA/PIO mode

Re: [PATCH V2] i2c: tegra: disable irq in tegra_i2c_xfer_msg

2019-06-18 Thread Peter Rosin
On 2019-06-18 10:42, Bitan Biswas wrote: > tegra_i2c_xfer_msg initiates the I2C transfer in DMA > or PIO mode. It involves steps that need FIFO register > access, DMA API calls like dma_sync_single_for_device, etc. > Tegra I2C ISR has calls to tegra_i2c_empty_rx_fifo in PIO mode > and in DMA/PIO

Re: [PATCH V2] i2c: tegra: disable irq in tegra_i2c_xfer_msg

2019-06-18 Thread Jon Hunter
On 18/06/2019 09:42, Bitan Biswas wrote: > tegra_i2c_xfer_msg initiates the I2C transfer in DMA > or PIO mode. It involves steps that need FIFO register > access, DMA API calls like dma_sync_single_for_device, etc. > Tegra I2C ISR has calls to tegra_i2c_empty_rx_fifo in PIO mode > and in DMA/PIO

[PATCH V2] i2c: tegra: disable irq in tegra_i2c_xfer_msg

2019-06-18 Thread Bitan Biswas
tegra_i2c_xfer_msg initiates the I2C transfer in DMA or PIO mode. It involves steps that need FIFO register access, DMA API calls like dma_sync_single_for_device, etc. Tegra I2C ISR has calls to tegra_i2c_empty_rx_fifo in PIO mode and in DMA/PIO mode writes different I2C registers including I2C