spi: fsl: add missing iounmap() on error in of_fsl_spi_probe()
stable inclusion from stable-5.10.37 commit 078362f495a0c5477f52fe2dff404fd5aa3dd9e1 bugzilla: 51868 CVE: NA -------------------------------- [ Upstream commit 5fed9fe5 ] Add the missing iounmap() before return from of_fsl_spi_probe() in the error handling case. Fixes: 0f0581b2 ("spi: fsl: Convert to use CS GPIO descriptors") Reported-by: NHulk Robot <hulkci@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com> Link: https://lore.kernel.org/r/20210401140350.1677925-1-yangyingliang@huawei.comSigned-off-by: NMark Brown <broonie@kernel.org> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NChen Jun <chenjun102@huawei.com> Acked-by: NWeilong Chen <chenweilong@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录