ASoC: fsi: use SNDRV_DMA_TYPE_DEV for sound buffer
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-shmobile / board-mackerel.c
index 0ff4d8e45cf7d9a2a7dc5974756b43d14256b1c8..112553f0f9bfab6558b73326d59885079aef5456 100644 (file)
@@ -523,6 +523,8 @@ static struct platform_device fsi_hdmi_device = {
        .id     = 1,
        .dev    = {
                .platform_data  = &fsi2_hdmi_info,
+               .coherent_dma_mask = DMA_BIT_MASK(32),
+               .dma_mask = &fsi_hdmi_device.dev.coherent_dma_mask,
        },
 };
 
@@ -919,6 +921,8 @@ static struct platform_device fsi_ak4643_device = {
        .name   = "asoc-simple-card",
        .dev    = {
                .platform_data  = &fsi2_ak4643_info,
+               .coherent_dma_mask = DMA_BIT_MASK(32),
+               .dma_mask = &fsi_ak4643_device.dev.coherent_dma_mask,
        },
 };