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 <>
(am from
(also found at

TEST=use script in issue #2

Change-Id: Ib7fcae3080aaa195553b495467d082c010d81371
Reviewed-by: Sean Paul <>
Reviewed-by: Douglas Anderson <>
Tested-by: Douglas Anderson <>
Commit-Queue: Cheng-Yi Chiang <>
(cherry picked from commit cadf8b3e0d52b16c63c286750a4626d7b0f663ce)
1 file changed