11 Jun
2014
11 Jun
'14
12:54 p.m.
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