]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: synopsys/dw-hdmi: Enable cec clock
authorPierre-Hugues Husson <phh@phh.me>
Sat, 25 Nov 2017 20:18:44 +0000 (21:18 +0100)
committerArchit Taneja <architt@codeaurora.org>
Thu, 30 Nov 2017 05:25:49 +0000 (10:55 +0530)
commit95c3d120746eaa22ad02bb68e192e88154b8ab3b
tree4fc6c4d274211916e57b2f3acbb46109fb0954ac
parent971bc07c48e12aa55768db8051627d93547f5491
drm/bridge: synopsys/dw-hdmi: Enable cec clock

Support the "cec" optional clock. The documentation already mentions "cec"
optional clock and it is used by several boards, but currently the driver
doesn't enable it, thus preventing cec from working on those boards.

And even worse: a /dev/cecX device will appear for those boards, but it
won't be functioning without configuring this clock.

Changes:
v4:
- Change commit message to stress the importance of this patch

v3:
- Drop useless braces

v2:
- Separate ENOENT errors from others
- Propagate other errors (especially -EPROBE_DEFER)

Signed-off-by: Pierre-Hugues Husson <phh@phh.me>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20171125201844.11353-1-phh@phh.me
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c