Skip to contentSkip to conversation

davinci_soc_platform_register and davinci-pcm-audio question

DISCUSSION Angelo Dureghello 1 participant 1 message Oct 15, 2014

lore
Share & tools
lore
#0 lore raw

Dear all,

i am referring to this patch:

[PATCH V2 1/6] ASoC: davinci: davinci-pcm does not need to be a plaform_driver

i am working on a board, based on am1808(da850) cpu and codec wolfson wm8758 (created based on wm8985.c) using mcbsp with a custom soc machine is actually broken,

This moving from kernel 3.5.1 to 3.17.

Alsa card is loaded correctly, but i can hear no sound:

omap_rtc omap_rtc: setting system clock to 2014-10-15 15:46:57 UTC (1413388017) ALSA device list:
#0: barix-ipam390
UBIFS: background thread "ubifs_bgt0_0" started, PID 1071
UBIFS: recovery needed

In the patch, seems "davinci-pcm-audio" is no more a driver.
And i should use "davinci_soc_platform_register" to have the pcm helper available.

But i don't understand in where i have to call this function.

Every help is appreciated.

Reagrds
angelo