Skip to content

Commit

Permalink
ASoC: SOF: hda: fix comments
Browse files Browse the repository at this point in the history
copy-paste and typo.

Signed-off-by: Pierre-Louis Bossart <[email protected]>
  • Loading branch information
plbossart committed Nov 1, 2018
1 parent 5d7f074 commit a5ddc3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sound/soc/sof/intel/hda-dsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ static int hda_suspend(struct snd_sof_dev *sdev, int state)
snd_hdac_ext_bus_ppcap_int_enable(bus, false);
snd_hdac_ext_bus_ppcap_enable(bus, false);

/* disable hda bus irw and i/o */
/* disable hda bus irq and i/o */
snd_hdac_bus_stop_chip(bus);
#endif

Expand Down Expand Up @@ -408,7 +408,7 @@ int hda_dsp_suspend(struct snd_sof_dev *sdev, int state)
if (IS_ENABLED(CONFIG_SND_SOC_HDAC_HDMI)) {
ret = snd_hdac_display_power(bus, false);
if (ret < 0) {
dev_err(bus->dev, "Cannot turn on display power on i915 after resume\n");
dev_err(bus->dev, "Cannot turn OFF display power on i915 during suspend\n");
return ret;
}
}
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/sof/intel/hda.c
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ static int hda_init_caps(struct snd_sof_dev *sdev)

/* check if dsp is there */
if (bus->ppcap)
dev_dbg(&pci->dev, "PP capbility, will probe DSP later.\n");
dev_dbg(&pci->dev, "PP capability, will probe DSP later.\n");

if (bus->mlcap)
snd_hdac_ext_bus_get_ml_capabilities(bus);
Expand Down

0 comments on commit a5ddc3d

Please sign in to comment.