soc: samsung: exynos-asv: don't defer early on not-supported SoCs
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 7 Dec 2020 19:05:14 +0000 (20:05 +0100)
committerKrzysztof Kozlowski <krzk@kernel.org>
Sun, 3 Jan 2021 16:02:28 +0000 (17:02 +0100)
commit0458b88267c637fb872b0359da9ff0b243081e9e
tree765ed483d232a50668c5934b3f13cc5c424f8643
parent5c8fe583cce542aa0b84adc939ce85293de36e5e
soc: samsung: exynos-asv: don't defer early on not-supported SoCs

Check if the SoC is really supported before gathering the needed
resources. This fixes endless deferred probe on some SoCs other than
Exynos5422 (like Exynos5410).

Fixes: 5ea428595cc5 ("soc: samsung: Add Exynos Adaptive Supply Voltage driver")
Cc: <stable@vger.kernel.org>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Pankaj Dubey <pankaj.dubey@samsung.com>
Link: https://lore.kernel.org/r/20201207190517.262051-2-krzk@kernel.org
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
drivers/soc/samsung/exynos-asv.c