From: Pierre-Louis Bossart Date: Thu, 4 Apr 2024 18:54:48 +0000 (-0500) Subject: ASoC: SOF: Intel: hda-stream: clarify comment X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=716778b3d71fe1c799a4f5cf84faf4979f80b267;p=linux.git ASoC: SOF: Intel: hda-stream: clarify comment The Yoda grammar and multiple negatives are unclear. Signed-off-by: Pierre-Louis Bossart Reviewed-by: Péter Ujfalusi Reviewed-by: Rander Wang Reviewed-by: Ranjani Sridharan Link: https://msgid.link/r/20240404185448.136157-5-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/sof/intel/hda-stream.c b/sound/soc/sof/intel/hda-stream.c index 76c33795ade45..91b1371745e66 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) {