ASoC: SOF: Intel: hda-stream: clarify comment
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 4 Apr 2024 18:54:48 +0000 (13:54 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 4 Apr 2024 18:58:28 +0000 (19:58 +0100)
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>
sound/soc/sof/intel/hda-stream.c

index 76c33795ade454bca6520c55d5f191a0d2790252..91b1371745e66cb4824017d52295a7cadfd1fceb 100644 (file)
@@ -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) {