]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/dsi_pll_10nm: Release clk hw on destroy and failure
authorSean Paul <seanpaul@chromium.org>
Mon, 17 Jun 2019 20:12:49 +0000 (16:12 -0400)
committerSean Paul <seanpaul@chromium.org>
Thu, 20 Jun 2019 18:42:01 +0000 (14:42 -0400)
commita69527cfdc2b117d9d74769359d12163f4f1c2c5
treea6f971323e48645bf8ee598ccf23982efdfc52a6
parentebfbce518ff94035bc42f4cf4a2235abd717449c
drm/msm/dsi_pll_10nm: Release clk hw on destroy and failure

The 10nm pll driver didn't have any failure-path cleanup in register,
and the destroy function didn't unregister any of the hardware. This
patch adds both.

The reason things haven't been blowing up horribly is that msm_drv has a
reference count issue that keeps devices alive, so the destroy function
was never called. That will be fixed in a follow-up patch.

Reviewed-by: Rob Clark <robdclark@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190617201301.133275-1-sean@poorly.run
drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c