mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
ASoC: soc: Update the restart op of the platform driver.
Update SoC framework to update the restart callback registerd By platform driver, which inturn be used by ALSA core framework To trigger the restart callback during the under run issue to To recover from hang state. Change-Id: I70f47c0d295526e7f35d4a4f9024e0e87dbc2455 Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
This commit is contained in:
parent
dec3f44a64
commit
fb7be07c92
1 changed files with 1 additions and 0 deletions
|
@ -2582,6 +2582,7 @@ int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num)
|
|||
rtd->ops.silence = platform->driver->ops->silence;
|
||||
rtd->ops.page = platform->driver->ops->page;
|
||||
rtd->ops.mmap = platform->driver->ops->mmap;
|
||||
rtd->ops.restart = platform->driver->ops->restart;
|
||||
}
|
||||
|
||||
if (playback)
|
||||
|
|
Loading…
Reference in a new issue