]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm: atmel-hlcdc: enable sys_clk during initalization.
authorSandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
Thu, 25 Apr 2019 12:36:30 +0000 (12:36 +0000)
committerSam Ravnborg <sam@ravnborg.org>
Tue, 4 Jun 2019 21:34:21 +0000 (23:34 +0200)
commit262d67e73f9a920a20bd75278761400404a82de0
tree4832cdb32f6484ae2e09018655f7f942316a2742
parente1dc68a4b149d47536cd001d0d0abadbb62d37bd
drm: atmel-hlcdc: enable sys_clk during initalization.

For SAM9X60 SoC, sys_clk is through lcd_gclk clock source and this
needs to be enabled before enabling lcd_clk.

Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
[claudiu.beznea@microchip.com: add fixed_clksrc checks]
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1556195748-11106-5-git-send-email-claudiu.beznea@microchip.com
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c