]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mxsfb: Move axi clk enable/disable to crtc enable/disable
authorLeonard Crestez <leonard.crestez@nxp.com>
Mon, 17 Sep 2018 13:42:11 +0000 (16:42 +0300)
committerStefan Agner <stefan@agner.ch>
Wed, 26 Sep 2018 20:07:40 +0000 (22:07 +0200)
commit017888ecd7d5d1cbdbec5951d29e3beb21289efd
tree36e5efad1078e3aed66f36517d5426762fe47cff
parentb85cce59014fa70a310fbba3b1a477c18c7fbc2e
drm/mxsfb: Move axi clk enable/disable to crtc enable/disable

The main axi clk is disabled at the end of mxsfb_crtc_mode_set_nofb and
immediately reenabled in mxsfb_enable_controller.

Avoid this by moving the handling of axi clk one level up to
mxsfb_crtc_enable. Do the same for mxsfb_crtc_disable for symmetry.

This shouldn't have any functional effect.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Reviewed-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Stefan Agner <stefan@agner.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/985c1f1cad250bd9ca154b3e4b3f913c310eeabd.1537191359.git.leonard.crestez@nxp.com
drivers/gpu/drm/mxsfb/mxsfb_crtc.c