mirror of https://github.com/thesofproject/sof.git
Merge pull request #494 from keyonjie/master
platform: fix dma_get() of ipc fail issue for byt/hsw/cavs
This commit is contained in:
commit
98f73a8448
|
@ -227,16 +227,16 @@ int platform_init(struct sof *sof)
|
|||
/* set SSP clock to 19.2M */
|
||||
clock_set_freq(CLK_SSP, 19200000);
|
||||
|
||||
/* initialise the host IPC mechanisms */
|
||||
trace_point(TRACE_BOOT_PLATFORM_IPC);
|
||||
ipc_init(sof);
|
||||
|
||||
/* init DMACs */
|
||||
trace_point(TRACE_BOOT_PLATFORM_DMA);
|
||||
ret = dmac_init();
|
||||
if (ret < 0)
|
||||
return -ENODEV;
|
||||
|
||||
/* initialise the host IPC mechanisms */
|
||||
trace_point(TRACE_BOOT_PLATFORM_IPC);
|
||||
ipc_init(sof);
|
||||
|
||||
ret = dai_init();
|
||||
if (ret < 0)
|
||||
return -ENODEV;
|
||||
|
|
|
@ -215,16 +215,16 @@ int platform_init(struct sof *sof)
|
|||
trace_point(TRACE_BOOT_PLATFORM_SSP_FREQ);
|
||||
clock_set_freq(CLK_SSP, 25000000);
|
||||
|
||||
/* initialise the host IPC mechanisms */
|
||||
trace_point(TRACE_BOOT_PLATFORM_IPC);
|
||||
ipc_init(sof);
|
||||
|
||||
/* init DMACs */
|
||||
trace_point(TRACE_BOOT_PLATFORM_DMA);
|
||||
ret = dmac_init();
|
||||
if (ret < 0)
|
||||
return -ENODEV;
|
||||
|
||||
/* initialise the host IPC mechanisms */
|
||||
trace_point(TRACE_BOOT_PLATFORM_IPC);
|
||||
ipc_init(sof);
|
||||
|
||||
ret = dai_init();
|
||||
if (ret < 0)
|
||||
return -ENODEV;
|
||||
|
|
|
@ -348,16 +348,16 @@ int platform_init(struct sof *sof)
|
|||
shim_write16(SHIM_PWRCTL, SHIM_PWRCTL_TCPDSP0PG);
|
||||
#endif
|
||||
|
||||
/* initialize the host IPC mechanisms */
|
||||
trace_point(TRACE_BOOT_PLATFORM_IPC);
|
||||
ipc_init(sof);
|
||||
|
||||
/* init DMACs */
|
||||
trace_point(TRACE_BOOT_PLATFORM_DMA);
|
||||
ret = dmac_init();
|
||||
if (ret < 0)
|
||||
return -ENODEV;
|
||||
|
||||
/* initialize the host IPC mechanisms */
|
||||
trace_point(TRACE_BOOT_PLATFORM_IPC);
|
||||
ipc_init(sof);
|
||||
|
||||
/* init DAIs */
|
||||
ret = dai_init();
|
||||
if (ret < 0)
|
||||
|
|
Loading…
Reference in New Issue