mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
Revert "spi: axi-spi-engine: fix version format string"
This reverts commit 5d6e336b9e which is
commit 0064db9ce4aa7cc794e6f4aed60dee0f94fc9bcf upstream.
It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.
Bug: 161946584
Change-Id: Icdd3df2a340324be18475d14dfdcef0f4617542d
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
@@ -532,7 +532,7 @@ static int spi_engine_probe(struct platform_device *pdev)
|
||||
|
||||
version = readl(spi_engine->base + ADI_AXI_REG_VERSION);
|
||||
if (ADI_AXI_PCORE_VER_MAJOR(version) != 1) {
|
||||
dev_err(&pdev->dev, "Unsupported peripheral version %u.%u.%u\n",
|
||||
dev_err(&pdev->dev, "Unsupported peripheral version %u.%u.%c\n",
|
||||
ADI_AXI_PCORE_VER_MAJOR(version),
|
||||
ADI_AXI_PCORE_VER_MINOR(version),
|
||||
ADI_AXI_PCORE_VER_PATCH(version));
|
||||
|
||||
Reference in New Issue
Block a user