lkml.org 
[lkml]   [2014]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/4] ASoC: wm_adsp: Move DVFS control into codec driver
On Mon, Jun 09, 2014 at 04:03:14PM +0100, Richard Fitzgerald wrote:
>
> -#define WM_ADSP2(wname, num) \
> +#define WM_ADSP2_E(wname, num, event_fn) \
> { .id = snd_soc_dapm_dai_link, .name = wname " Preloader", \
> - .reg = SND_SOC_NOPM, .shift = num, .event = wm_adsp2_early_event, \
> + .reg = SND_SOC_NOPM, .shift = num, .event = event_fn, \
> .event_flags = SND_SOC_DAPM_PRE_PMU }, \

You need to add a SND_SOC_DAPM_PRE_PMD in here otherwise your
wm5102_sysclk_ev won't get called on power down.

Thanks,
Charles


\
 
 \ /
  Last update: 2014-06-12 23:41    [W:0.084 / U:1.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site