diff options
| author | Christophe JAILLET <[email protected]> | 2022-04-03 10:11:13 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2022-04-04 07:45:14 +0000 |
| commit | 35d516bdcd92fde46202d06b68df1166760208fd (patch) | |
| tree | 2ecb04bdbbc236f403add658b5d9441db452683f /tools/perf/util/c++/clang.cpp | |
| parent | spi: rpc-if: Fix RPM imbalance in probe error path (diff) | |
| download | kernel-35d516bdcd92fde46202d06b68df1166760208fd.tar.gz kernel-35d516bdcd92fde46202d06b68df1166760208fd.zip | |
spi: mxic: Fix an error handling path in mxic_spi_probe()
If spi_register_master() fails, we must undo a previous
mxic_spi_mem_ecc_probe() call, as already done in the remove function.
Fixes: 00360ebae483 ("spi: mxic: Add support for pipelined ECC operations")
Signed-off-by: Christophe JAILLET <[email protected]>
Reviewed-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/r/09c81f751241f6ec0bac7a48d4ec814a742e0d17.1648980664.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions
