X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=include%2Fsound%2Fsoc.h;h=a8ccc1de9dfc3c9d869210415df3326f7142fbe3;hb=4a7e0415703977dc61b410f3124ab59d56273f6a;hp=0d1ade19562857c7b65157636ac37b2f0222e202;hpb=a135c717d5cdb311cff7661af4c17fef0562e590;p=cascardo%2Flinux.git diff --git a/include/sound/soc.h b/include/sound/soc.h index 0d1ade195628..a8ccc1de9dfc 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -954,6 +954,9 @@ struct snd_soc_dai_link { unsigned int symmetric_channels:1; unsigned int symmetric_samplebits:1; + /* Mark this pcm with non atomic ops */ + bool nonatomic; + /* Do not create a PCM for this DAI link (Backend link) */ unsigned int no_pcm:1; @@ -1071,11 +1074,16 @@ struct snd_soc_card { /* * Card-specific routes and widgets. + * Note: of_dapm_xxx for Device Tree; Otherwise for driver build-in. */ const struct snd_soc_dapm_widget *dapm_widgets; int num_dapm_widgets; const struct snd_soc_dapm_route *dapm_routes; int num_dapm_routes; + const struct snd_soc_dapm_widget *of_dapm_widgets; + int num_of_dapm_widgets; + const struct snd_soc_dapm_route *of_dapm_routes; + int num_of_dapm_routes; bool fully_routed; struct work_struct deferred_resume_work;