Unverified Commit 9cabf4a4 authored by Witold Sadowski's avatar Witold Sadowski Committed by Mark Brown
Browse files

spi: cadence: Try to read spi-tx/rx-bus width property using ACPI



Try to read bus width property using acpi_dev_get_property function, do
not rely on spi_mem_default_supports_op function only.
If of_device_get_match_data() will fail, retry with
acpi_device_get_match_data() to handle ACPI properly.

Signed-off-by: default avatarWitold Sadowski <wsadowski@marvell.com>
Signed-off-by: default avatarPiyush Malgujar <pmalgujar@marvell.com>
Link: https://patch.msgid.link/20240724154739.582367-10-wsadowski@marvell.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 8232f1e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment