Commit 278842ac authored by Chen Ni's avatar Chen Ni Committed by Greg Kroah-Hartman
Browse files

pcmcia: omap: Add missing check for platform_get_resource



[ Upstream commit ecef14f7 ]

Add missing check for platform_get_resource() and return error if it fails
to catch the error.

Fixes: d87d44f7 ("ARM: omap1: move CF chipselect setup to board file")
Signed-off-by: default avatarChen Ni <nichen@iscas.ac.cn>
Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 2a7cf13d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment