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)
commitebe32c3e282a62974b190b9d514864fc0d56716e
tree4fc6c4d274211916e57b2f3acbb46109fb0954ac
parent1b6fba458c0a2e8513071330972c4c587b7d28cc
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