diff options
author | Mark Brown <broonie@kernel.org> | 2016-08-09 07:34:51 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-08-09 07:34:51 -0400 |
commit | da74273c49ebd7049fddc4af3845881c74e00f38 (patch) | |
tree | 9de343dd1f4ae6b763e51735a90968ada9124dc8 /sound/soc/intel | |
parent | 3d4006cd50289d7626639488c3a6449574cceee7 (diff) | |
parent | bfcba288b97f10c22fb84f0898ebfb6b468b80ea (diff) |
Merge branch 'topic/hda-link-time' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound into asoc-intel
Diffstat (limited to 'sound/soc/intel')
-rw-r--r-- | sound/soc/intel/skylake/skl-messages.c | 4 | ||||
-rw-r--r-- | sound/soc/intel/skylake/skl-pcm.c | 8 | ||||
-rw-r--r-- | sound/soc/intel/skylake/skl.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/sound/soc/intel/skylake/skl-messages.c b/sound/soc/intel/skylake/skl-messages.c index 8a750b67273f..8eb5ba2dae3a 100644 --- a/sound/soc/intel/skylake/skl-messages.c +++ b/sound/soc/intel/skylake/skl-messages.c | |||
@@ -300,7 +300,7 @@ int skl_suspend_dsp(struct skl *skl) | |||
300 | int ret; | 300 | int ret; |
301 | 301 | ||
302 | /* if ppcap is not supported return 0 */ | 302 | /* if ppcap is not supported return 0 */ |
303 | if (!skl->ebus.ppcap) | 303 | if (!skl->ebus.bus.ppcap) |
304 | return 0; | 304 | return 0; |
305 | 305 | ||
306 | ret = skl_dsp_sleep(ctx->dsp); | 306 | ret = skl_dsp_sleep(ctx->dsp); |
@@ -320,7 +320,7 @@ int skl_resume_dsp(struct skl *skl) | |||
320 | int ret; | 320 | int ret; |
321 | 321 | ||
322 | /* if ppcap is not supported return 0 */ | 322 | /* if ppcap is not supported return 0 */ |
323 | if (!skl->ebus.ppcap) | 323 | if (!skl->ebus.bus.ppcap) |
324 | return 0; | 324 | return 0; |
325 | 325 | ||
326 | /* enable ppcap interrupt */ | 326 | /* enable ppcap interrupt */ |
diff --git a/sound/soc/intel/skylake/skl-pcm.c b/sound/soc/intel/skylake/skl-pcm.c index 22d4f0703a33..140249269cdb 100644 --- a/sound/soc/intel/skylake/skl-pcm.c +++ b/sound/soc/intel/skylake/skl-pcm.c | |||
@@ -106,7 +106,7 @@ static void skl_set_pcm_constrains(struct hdac_ext_bus *ebus, | |||
106 | 106 | ||
107 | static enum hdac_ext_stream_type skl_get_host_stream_type(struct hdac_ext_bus *ebus) | 107 | static enum hdac_ext_stream_type skl_get_host_stream_type(struct hdac_ext_bus *ebus) |
108 | { | 108 | { |
109 | if (ebus->ppcap) | 109 | if ((ebus_to_hbus(ebus))->ppcap) |
110 | return HDAC_EXT_STREAM_TYPE_HOST; | 110 | return HDAC_EXT_STREAM_TYPE_HOST; |
111 | else | 111 | else |
112 | return HDAC_EXT_STREAM_TYPE_COUPLED; | 112 | return HDAC_EXT_STREAM_TYPE_COUPLED; |
@@ -188,7 +188,7 @@ static int skl_get_format(struct snd_pcm_substream *substream, | |||
188 | struct hdac_ext_bus *ebus = dev_get_drvdata(dai->dev); | 188 | struct hdac_ext_bus *ebus = dev_get_drvdata(dai->dev); |
189 | int format_val = 0; | 189 | int format_val = 0; |
190 | 190 | ||
191 | if (ebus->ppcap) { | 191 | if ((ebus_to_hbus(ebus))->ppcap) { |
192 | struct snd_pcm_runtime *runtime = substream->runtime; | 192 | struct snd_pcm_runtime *runtime = substream->runtime; |
193 | 193 | ||
194 | format_val = snd_hdac_calc_stream_format(runtime->rate, | 194 | format_val = snd_hdac_calc_stream_format(runtime->rate, |
@@ -1020,7 +1020,7 @@ static int skl_platform_pcm_trigger(struct snd_pcm_substream *substream, | |||
1020 | { | 1020 | { |
1021 | struct hdac_ext_bus *ebus = get_bus_ctx(substream); | 1021 | struct hdac_ext_bus *ebus = get_bus_ctx(substream); |
1022 | 1022 | ||
1023 | if (!ebus->ppcap) | 1023 | if ((ebus_to_hbus(ebus))->ppcap) |
1024 | return skl_coupled_trigger(substream, cmd); | 1024 | return skl_coupled_trigger(substream, cmd); |
1025 | 1025 | ||
1026 | return 0; | 1026 | return 0; |
@@ -1146,7 +1146,7 @@ static int skl_platform_soc_probe(struct snd_soc_platform *platform) | |||
1146 | int ret; | 1146 | int ret; |
1147 | 1147 | ||
1148 | pm_runtime_get_sync(platform->dev); | 1148 | pm_runtime_get_sync(platform->dev); |
1149 | if (ebus->ppcap) { | 1149 | if ((ebus_to_hbus(ebus))->ppcap) { |
1150 | ret = skl_tplg_init(platform, ebus); | 1150 | ret = skl_tplg_init(platform, ebus); |
1151 | if (ret < 0) { | 1151 | if (ret < 0) { |
1152 | dev_err(platform->dev, "Failed to init topology!\n"); | 1152 | dev_err(platform->dev, "Failed to init topology!\n"); |
diff --git a/sound/soc/intel/skylake/skl.c b/sound/soc/intel/skylake/skl.c index cd59536a761d..a893ca13be8e 100644 --- a/sound/soc/intel/skylake/skl.c +++ b/sound/soc/intel/skylake/skl.c | |||
@@ -587,7 +587,7 @@ static int skl_first_init(struct hdac_ext_bus *ebus) | |||
587 | return -ENXIO; | 587 | return -ENXIO; |
588 | } | 588 | } |
589 | 589 | ||
590 | snd_hdac_ext_bus_parse_capabilities(ebus); | 590 | snd_hdac_bus_parse_capabilities(bus); |
591 | 591 | ||
592 | if (skl_acquire_irq(ebus, 0) < 0) | 592 | if (skl_acquire_irq(ebus, 0) < 0) |
593 | return -EBUSY; | 593 | return -EBUSY; |
@@ -682,7 +682,7 @@ static int skl_probe(struct pci_dev *pci, | |||
682 | skl_dmic_data.dmic_num = skl_get_dmic_geo(skl); | 682 | skl_dmic_data.dmic_num = skl_get_dmic_geo(skl); |
683 | 683 | ||
684 | /* check if dsp is there */ | 684 | /* check if dsp is there */ |
685 | if (ebus->ppcap) { | 685 | if (bus->ppcap) { |
686 | err = skl_machine_device_register(skl, | 686 | err = skl_machine_device_register(skl, |
687 | (void *)pci_id->driver_data); | 687 | (void *)pci_id->driver_data); |
688 | if (err < 0) | 688 | if (err < 0) |
@@ -696,7 +696,7 @@ static int skl_probe(struct pci_dev *pci, | |||
696 | skl->skl_sst->enable_miscbdcge = skl_enable_miscbdcge; | 696 | skl->skl_sst->enable_miscbdcge = skl_enable_miscbdcge; |
697 | 697 | ||
698 | } | 698 | } |
699 | if (ebus->mlcap) | 699 | if (bus->mlcap) |
700 | snd_hdac_ext_bus_get_ml_capabilities(ebus); | 700 | snd_hdac_ext_bus_get_ml_capabilities(ebus); |
701 | 701 | ||
702 | /* create device for soc dmic */ | 702 | /* create device for soc dmic */ |