[PATCH] tegra114: fix to a race condition due to early registration of interrupt handler

2017-08-22 Thread Anton Volkov
The early registration of interrupt handler made possible a race condition leading to the usage of an incorrect physical address obtained by reading uninitialized tspi->tx_dma_phys. This patch moves the registration of an interrupt handler further down the code of tegra_spi_probe to make the race

[PATCH] tegra114: fix to a race condition due to early registration of interrupt handler

2017-08-10 Thread Anton Volkov
The early registration of interrupt handler made possible a race condition leading to the usage of an incorrect physical address obtained by reading uninitialized tspi->tx_dma_phys. This patch moves the registration of an interrupt handler further down the code of tegra_spi_probe to make the race