Merge branch 'linus-4.14-rc4-acp-prereq' of git://people.freedesktop.org/~agd5f/linux...
[sfrench/cifs-2.6.git] / drivers / gpu / drm / amd / amdgpu / amdgpu_acp.c
index 023bfdb3e63f58dfd71c157cf663ac2b6220cd73..c04f44a90392639e7ec3ae51da93a694ead70fee 100644 (file)
@@ -382,6 +382,8 @@ static int acp_hw_init(void *handle)
        adev->acp.acp_cell[0].name = "acp_audio_dma";
        adev->acp.acp_cell[0].num_resources = 4;
        adev->acp.acp_cell[0].resources = &adev->acp.acp_res[0];
+       adev->acp.acp_cell[0].platform_data = &adev->asic_type;
+       adev->acp.acp_cell[0].pdata_size = sizeof(adev->asic_type);
 
        adev->acp.acp_cell[1].name = "designware-i2s";
        adev->acp.acp_cell[1].num_resources = 1;