diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-11-13 13:16:31 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-11-18 15:21:51 +0300 |
commit | 7e4be1290a38b3dd4a77cdf4565c9ffe7e620013 (patch) | |
tree | 7c3950220a6bd5b2676469b40ad86da1cf593bd1 /drivers/char/tpm/eventlog/efi.c | |
parent | e773ca7da8beeca7f17fe4c9d1284a2b66839cc1 (diff) | |
download | linux-7e4be1290a38b3dd4a77cdf4565c9ffe7e620013.tar.xz |
dmaengine: fix error codes in channel_register()
The error codes were not set on some of these error paths.
Also the error handling was more confusing than it needed to be so I
cleaned it up and shuffled it around a bit.
Fixes: d2fb0a043838 ("dmaengine: break out channel registration")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20201113101631.GE168908@mwanda
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/char/tpm/eventlog/efi.c')
0 files changed, 0 insertions, 0 deletions