]> 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)
commit4641e599a3c396c120423992b62e248b0ec672c8
tree4fc6c4d274211916e57b2f3acbb46109fb0954ac
parent0df7659cf93af07d1ed200ef0df9d82a35ce8d6e
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