OpenCloudOS-Kernel/drivers/soc/samsung
Krzysztof Kozlowski 4561560dfb soc: samsung: exynos-asv: handle reading revision register error
If regmap_read() fails, the product_id local variable will contain
random value from the stack.  Do not try to parse such value and fail
the ASV driver probe.

Fixes: 5ea428595c ("soc: samsung: Add Exynos Adaptive Supply Voltage driver")
Cc: <stable@vger.kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Pankaj Dubey <pankaj.dubey@samsung.com>
Link: https://lore.kernel.org/r/20201207190517.262051-3-krzk@kernel.org
2021-01-03 17:02:56 +01:00
..
Kconfig Samsung mach/soc changes for v5.10 2020-09-26 12:55:43 -07:00
Makefile ARM: samsung: move pm check code to drivers/soc 2020-08-19 21:23:46 +02:00
exynos-asv.c soc: samsung: exynos-asv: handle reading revision register error 2021-01-03 17:02:56 +01:00
exynos-asv.h soc: samsung: Add Exynos Adaptive Supply Voltage driver 2019-10-28 17:59:33 +01:00
exynos-chipid.c soc: samsung: exynos-chipid: initialize later - with arch_initcall 2020-12-05 15:12:02 +01:00
exynos-pmu.c soc: samsung: exynos-pmu: instantiate clkout driver as MFD 2020-10-28 23:02:02 +01:00
exynos-pmu.h soc: samsung: Rename Samsung and Exynos to lowercase 2020-01-07 20:46:31 +01:00
exynos-regulator-coupler.c soc: samsung: exynos-regulator-coupler: Add simple voltage coupler for Exynos5800 2020-07-22 22:33:57 +02:00
exynos4-pmu.c soc: samsung: Rename Samsung and Exynos to lowercase 2020-01-07 20:46:31 +01:00
exynos3250-pmu.c soc: samsung: Rename Samsung and Exynos to lowercase 2020-01-07 20:46:31 +01:00
exynos5250-pmu.c soc: samsung: Rename Samsung and Exynos to lowercase 2020-01-07 20:46:31 +01:00
exynos5420-pmu.c soc: samsung: Rename Samsung and Exynos to lowercase 2020-01-07 20:46:31 +01:00
exynos5422-asv.c soc: samsung: exynos5422-asv: remove unneeded semicolon 2020-11-02 19:46:46 +01:00
exynos5422-asv.h soc: samsung: Add Exynos Adaptive Supply Voltage driver 2019-10-28 17:59:33 +01:00
pm_domains.c soc: samsung: pm_domains: Deprecate support for clocks 2018-04-17 17:25:42 +02:00
s3c-pm-check.c soc: samsung: s3c-pm-check: Fix incorrectly named variable 'val' 2020-11-03 21:37:45 +01:00
s3c-pm-debug.c ARM: samsung: move pm check code to drivers/soc 2020-08-19 21:23:46 +02:00