diff options
author | Hsiao Chien Sung <shawn.sung@mediatek.com> | 2023-12-14 13:58:44 +0800 |
---|---|---|
committer | Chun-Kuang Hu <chunkuang.hu@kernel.org> | 2023-12-14 14:53:44 +0000 |
commit | 21b287146adf39304193e4c49198021e06a28ded (patch) | |
tree | bd19cff5b79b8482e4537ff7cb43e6cf3d905796 /mm/filemap.c | |
parent | ba527e9a11b33cc7315171807add5b2f594b23ac (diff) | |
download | linux-stable-21b287146adf39304193e4c49198021e06a28ded.tar.gz linux-stable-21b287146adf39304193e4c49198021e06a28ded.tar.bz2 linux-stable-21b287146adf39304193e4c49198021e06a28ded.zip |
drm/mediatek: Return error if MDP RDMA failed to enable the clock
Return the result of clk_prepare_enable() instead of
always returns 0.
Fixes: f8946e2b6bb2 ("drm/mediatek: Add display MDP RDMA support for MT8195")
Reviewed-by: CK Hu <ck.hu@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Hsiao Chien Sung <shawn.sung@mediatek.com>
Link: https://patchwork.kernel.org/project/dri-devel/patch/20231214055847.4936-21-shawn.sung@mediatek.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions