diff options
author | Krishna Yarlagadda <kyarlagadda@nvidia.com> | 2022-11-17 10:03:20 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-11-17 13:53:04 +0300 |
commit | 2197aa6b0aa236b9896a09b9d08d6924d18b84f6 (patch) | |
tree | 6e8b8d759bdc49f8d5a07531af4bb792ebd94f8e /drivers/spi/spi-imx.c | |
parent | 804313b64e412a81b0b3389a10e7622452004aa6 (diff) | |
download | linux-2197aa6b0aa236b9896a09b9d08d6924d18b84f6.tar.xz |
spi: tegra210-quad: Fix duplicate resource error
controller data alloc is done with client device data causing duplicate
resource error. Allocate memory using controller device when using devm
Fixes: f89d2cc3967a ("spi: tegra210-quad: use devm call for cdata memory")
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/r/20221117070320.18720-1-kyarlagadda@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-imx.c')
0 files changed, 0 insertions, 0 deletions