commit | 6e0fef1b46bb91c196be56365d9af72e52bb4675 | [log] [tgz] |
---|---|---|
author | Cheng-Yi Chiang <cychiang@chromium.org> | Thu Aug 29 04:29:57 2019 |
committer | Douglas Anderson <dianders@chromium.org> | Tue Sep 03 18:18:39 2019 |
tree | cc0543a93e2cf2f9749064d821f344df3a1e7cd3 | |
parent | 74fab24be8994bb5bb8d1aa8828f50e16bb38346 [diff] |
FROMLIST: drm: dw-hdmi-i2s: enable audio clock in audio_startup In the designware databook, the sequence of enabling audio clock and setting format is not clearly specified. Currently, audio clock is enabled in the end of hw_param ops after setting format. On some monitors, there is a possibility that audio does not come out. Fix this by enabling audio clock in audio_startup ops before hw_param ops setting format. Signed-off-by: Cheng-Yi Chiang <cychiang@chromium.org> (am from https://patchwork.kernel.org/patch/11120287/) (also found at https://lkml.kernel.org/r/20190829042957.150929-1-cychiang@chromium.org) BUG=chromium:998344 TEST=use repeat_sox.sh script in issue #2 Change-Id: Ib7fcae3080aaa195553b495467d082c010d81371 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/1774430 Reviewed-by: Sean Paul <seanpaul@chromium.org> Reviewed-by: Douglas Anderson <dianders@chromium.org> Tested-by: Douglas Anderson <dianders@chromium.org> Commit-Queue: Cheng-Yi Chiang <cychiang@chromium.org> (cherry picked from commit cadf8b3e0d52b16c63c286750a4626d7b0f663ce) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/1782745