diff options
author | Kunihiko Hayashi <hayashi.kunihiko@socionext.com> | 2021-12-22 07:48:12 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-12-22 15:42:51 +0300 |
commit | 80bb73a9fbcde4ecc55e12f10c73fabbe68a24d1 (patch) | |
tree | 153a37cd4c4ff4357c30c147507a46c44d761f3b /arch/arm/boot/dts/sun8i-h3.dtsi | |
parent | db6689b643d8653092f5853751ea2cdbc299f8d3 (diff) | |
download | linux-80bb73a9fbcde4ecc55e12f10c73fabbe68a24d1.tar.xz |
spi: uniphier: Fix a bug that doesn't point to private data correctly
In uniphier_spi_remove(), there is a wrong code to get private data from
the platform device, so the driver can't be removed properly.
The driver should get spi_master from the platform device and retrieve
the private data from it.
Cc: <stable@vger.kernel.org>
Fixes: 5ba155a4d4cc ("spi: add SPI controller driver for UniPhier SoC")
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://lore.kernel.org/r/1640148492-32178-1-git-send-email-hayashi.kunihiko@socionext.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-h3.dtsi')
0 files changed, 0 insertions, 0 deletions