diff options
author | Serge Semin <Sergey.Semin@baikalelectronics.ru> | 2020-09-20 14:23:15 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-09-29 16:37:08 +0100 |
commit | be3034d9f9f3ea28588932d10bba6d06b71489a7 (patch) | |
tree | c9b95d9fdb2280ac65baf0be3bc38741f147b060 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | a874d811f0c2d285fd7409b5fc569c454c05c835 (diff) |
spi: dw-dma: Check rx_buf availability in the xfer method
Checking rx_buf for being NULL and returning NULL from the Rx-channel
preparation method doesn't let us to distinguish that situation from
errors happening during the Rx SG-list preparation. So it's better to make
sure that the rx_buf not-NULL and full-duplex communication is requested
prior calling the Rx preparation method.
Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Link: https://lore.kernel.org/r/20200920112322.24585-5-Sergey.Semin@baikalelectronics.ru
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions