aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2024-04-04 13:54:48 -0500
committerMark Brown <broonie@kernel.org>2024-04-04 19:58:28 +0100
commit716778b3d71fe1c799a4f5cf84faf4979f80b267 (patch)
tree90bbdb3f57d98915050b6e391c184a7530bd15e6
parentASoC: SOF: Intel: don't ignore IOC interrupts for non-audio transfers (diff)
downloadwireguard-linux-716778b3d71fe1c799a4f5cf84faf4979f80b267.tar.xz
wireguard-linux-716778b3d71fe1c799a4f5cf84faf4979f80b267.zip
ASoC: SOF: Intel: hda-stream: clarify comment
The Yoda grammar and multiple negatives are unclear. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Link: https://msgid.link/r/20240404185448.136157-5-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/sof/intel/hda-stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sof/intel/hda-stream.c b/sound/soc/sof/intel/hda-stream.c
index 76c33795ade4..91b1371745e6 100644
--- a/sound/soc/sof/intel/hda-stream.c
+++ b/sound/soc/sof/intel/hda-stream.c
@@ -785,7 +785,7 @@ static bool hda_dsp_stream_check(struct hdac_bus *bus, u32 status)
continue;
}
- /* Inform ALSA only in case not do that with IPC */
+ /* Inform ALSA only if the IPC position is not used */
if (s->substream && sof_hda->no_ipc_position) {
snd_sof_pcm_period_elapsed(s->substream);
} else if (s->cstream) {