From: Akshu Agrawal <akshu.agrawal@xxxxxxx> DW_I2S_QUIRK_COMP_PARAM1 ensures cpu dai for playback shows capability of playback only. This enables the driver to have 2 separate cpu dai for playback and capture each. Signed-off-by: Akshu Agrawal <akshu.agrawal at amd.com> Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda at amd.com> Reviewed-by: Alex Deucher <alexander.deucher at amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c index 031c09e..1bc463a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c @@ -370,10 +370,12 @@ static int acp_hw_init(void *handle) switch (adev->asic_type) { case CHIP_STONEY: i2s_pdata[2].quirks = DW_I2S_QUIRK_COMP_REG_OFFSET | + DW_I2S_QUIRK_COMP_PARAM1 | DW_I2S_QUIRK_16BIT_IDX_OVERRIDE; break; default: - i2s_pdata[2].quirks = DW_I2S_QUIRK_COMP_REG_OFFSET; + i2s_pdata[2].quirks = DW_I2S_QUIRK_COMP_REG_OFFSET | + DW_I2S_QUIRK_COMP_PARAM1; } i2s_pdata[2].cap = DWC_I2S_PLAY; -- 2.7.4