diff options
author | Serge Semin <[email protected]> | 2020-10-08 02:55:01 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-10-08 23:00:15 +0100 |
commit | c6cb3815f70d39e377bec6b44d25f2d8b68b324e (patch) | |
tree | 582c7329c8eacb04fb240dc641edc357295d3031 /scripts/gdb/linux/modules.py | |
parent | da8f58909e7e047a01e4577807e648482672eddd (diff) |
spi: dw: Discard chip enabling on DMA setup error
It's pointless to enable the chip back if the DMA setup procedure fails,
since we'll disable it on the next transfer anyway. For the same reason We
don't do that in case of a failure detected in any other methods called
from the transfer_one() method.
While at it consider any non-zero value returned from the dma_setup
callback to be erroneous as it's supposed to be in the kernel.
Signed-off-by: Serge Semin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions