]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amd/amdgpu: Enabling ACP clock in hw_init (v2)
authorAkshu Agrawal <akshu.agrawal@amd.com>
Mon, 18 Sep 2017 06:56:07 +0000 (12:26 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 Nov 2017 19:44:46 +0000 (15:44 -0400)
commit37c5f2c99adf63adf13f1ca309a1ffce25c5589a
treebcd946fc22f5eeafbf717fe30a1c323763bea586
parente477e940dad1836c6f6d23353e424665b9316b6e
drm/amd/amdgpu: Enabling ACP clock in hw_init (v2)

Enabling of ACP in hw_init does away with requirement of order
of probe on designware_i2s and acp dma driver. designware_i2s
reads i2s registers and this use to fail if acp dma driver was not probed
prior to it.

BUG=:b:62103837
TEST=modprobe snd-soc-acp-pcm
modprobe snd-soc-acp-rt5645-mach
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: acprt5650 [acprt5650], device 0: RT5645_AIF1 rt5645-aif1-0 []
  Subdevices: 1/1
    Subdevice #0: subdevice #0

v2: use proper device in dev_err to fix warnings (Alex)

Signed-off-by: Akshu Agrawal <akshu.agrawal@amd.com>
Reviewed-on: https://chromium-review.googlesource.com/670207
Reviewed-by: Jason Clinton <jclinton@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/676628
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c