@@ -1246,7 +1246,7 @@ int ltdc_load(struct drm_device *ddev)
mutex_init(<dc->err_lock);
- ltdc->pixel_clk = devm_clk_get(dev, "clk-lcd");
+ ltdc->pixel_clk = devm_clk_get(dev, "lcd");
if (IS_ERR(ltdc->pixel_clk)) {
DRM_ERROR("Unable to get lcd clock\n");
return -ENODEV;
@@ -1263,7 +1263,7 @@ int ltdc_load(struct drm_device *ddev)
return PTR_ERR(regs);
}
- ltdc->map = devm_regmap_init_mmio_clk(dev, "clk-lcd", regs,
+ ltdc->map = devm_regmap_init_mmio_clk(dev, "lcd", regs,
<dc_regmap_config);
if (IS_ERR(ltdc->map)) {
dev_err(dev, "Couldn't create ltdc register mapping\n");
This patch adds support for the STM32 LCD-TFT display controller. Signed-off-by: Yannick Fertre <yannick.fertre@st.com> --- drivers/gpu/drm/stm/ltdc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)