projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cd575a
)
drm/bridge: dw-hdmi: add missing cec_notifier_put
author
Hans Verkuil
<hverkuil@xs4all.nl>
Mon, 7 Aug 2017 07:20:35 +0000
(09:20 +0200)
committer
Archit Taneja
<architt@codeaurora.org>
Mon, 7 Aug 2017 10:48:25 +0000
(16:18 +0530)
The __dw_hdmi_remove() function was missing a call to cec_notifier_put
to balance the cec_notifier_get in the probe function.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link:
https://patchwork.freedesktop.org/patch/msgid/a7688d13-2d61-ed16-f2df-28cbb5007f38@xs4all.nl
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
index f8171cd07e74e96a08d6faed7a699ab6aad42630..a24ec4ad18bd45635bc3588bd200efd2d8739ce8 100644
(file)
--- a/
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
+++ b/
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
@@
-2496,6
+2496,9
@@
static void __dw_hdmi_remove(struct dw_hdmi *hdmi)
/* Disable all interrupts */
hdmi_writeb(hdmi, ~0, HDMI_IH_MUTE_PHY_STAT0);
+ if (hdmi->cec_notifier)
+ cec_notifier_put(hdmi->cec_notifier);
+
clk_disable_unprepare(hdmi->iahb_clk);
clk_disable_unprepare(hdmi->isfr_clk);