linux-stable/drivers/mmc
Jiasheng Jiang ddea8cdeb2 mmc: davinci_mmc: Handle error for clk_enable
[ Upstream commit 09e7af76db ]

As the potential failure of the clk_enable(),
it should be better to check it and return error
if fails.

Fixes: bbce5802af ("davinci: mmc: updates to suspend/resume implementation")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Link: https://lore.kernel.org/r/20220308071415.1093393-1-jiasheng@iscas.ac.cn
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 13:57:53 +02:00
..
core mmc: core: use sysfs_emit() instead of sprintf() 2022-04-08 13:57:25 +02:00
host mmc: davinci_mmc: Handle error for clk_enable 2022-04-08 13:57:53 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00