diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> | 2021-04-07 17:45:35 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-14 09:50:19 +0200 |
commit | 7bb63ed88189a55d1d618264dafbe37a1f285b56 (patch) | |
tree | b2ff47799bf52e14b241a33cad0fe7b7454c640b /security | |
parent | 71bcc1b4a1743534d8abdcb57ff912e6bc390438 (diff) | |
download | linux-stable-7bb63ed88189a55d1d618264dafbe37a1f285b56.tar.gz linux-stable-7bb63ed88189a55d1d618264dafbe37a1f285b56.tar.bz2 linux-stable-7bb63ed88189a55d1d618264dafbe37a1f285b56.zip |
memory: samsung: exynos5422-dmc: handle clk_set_parent() failure
[ Upstream commit 132c17c3ff878c7beaba51bdd275d5cc654c0e33 ]
clk_set_parent() can fail and ignoring such case could lead to invalid
clock setup for given frequency.
Addresses-Coverity: Unchecked return value
Fixes: 6e7674c3c6df ("memory: Add DMC driver for Exynos5422")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Link: https://lore.kernel.org/r/20210407154535.70756-1-krzysztof.kozlowski@canonical.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions