diff options
author | Jinjie Ruan <[email protected]> | 2024-08-26 20:59:12 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-08-28 22:11:16 +0100 |
commit | c2ea9b8a536bd18b7632d4d998c20e1af9319c32 (patch) | |
tree | 2ec7f3e0cbc3d96a1d8efc9b7bbd54ff5f002912 /lib/crypto/mpi/mpi-sub-ui.c | |
parent | 2fe6102bf01a5f4f48f211c2e5c8a274342fccb1 (diff) |
spi: atmel-quadspi: Fix uninitialized res
The second platform_get_resource_byname() can not be replaced with
devm_platform_ioremap_resource_byname(), because the intermediate "res"
is used to assign for "aq->mmap_size".
Fixes: 3ccea1dedef3 ("spi: atmel-quadspi: Simpify resource lookup")
Signed-off-by: Jinjie Ruan <[email protected]>
Acked-by: Hari Prasath Gujulan Elango <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions