diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2018-04-29 01:46:23 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-05-02 05:59:21 +0900 |
commit | ded5fa4e8bac25612caab8f0822691308a28a552 (patch) | |
tree | 67e1bc7cfd385d661e86353d405e6ee8a70e5627 /drivers/spi/spi-omap2-mcspi.c | |
parent | 0a090d6537d3ac14391e7aeaf025b725e72a9675 (diff) | |
download | lwn-ded5fa4e8bac25612caab8f0822691308a28a552.tar.gz lwn-ded5fa4e8bac25612caab8f0822691308a28a552.zip |
spi: meson-spicc: Fix error handling in meson_spicc_probe()
If devm_spi_register_master() fails in meson_spicc_probe(),
spicc->core is left undisabled. The patch fixes that.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-omap2-mcspi.c')
0 files changed, 0 insertions, 0 deletions