From: Philipp Stanner <pstanner@redhat.com>
To: WangYuli <wangyuli@uniontech.com>
Cc: akpm@linux-foundation.org, guanwentao@uniontech.com,
linux-kernel@vger.kernel.org, mingo@kernel.org,
niecheng1@uniontech.com, tglx@linutronix.de,
zhanjun@uniontech.com, Jaroslav Kysela <perex@perex.cz>,
Takashi Iwai <tiwai@suse.com>,
Bjorn Helgaas <bhelgaas@google.com>,
SOUND <linux-sound@vger.kernel.org>
Subject: Re: [PATCH v2 5/5] ALSA: korg1212: snd_korg1212_prepare: Rename del_timer in comment
Date: Mon, 14 Apr 2025 10:34:55 +0200 [thread overview]
Message-ID: <70bb676764099754d10c4be2f095e0fb829f233a.camel@redhat.com> (raw)
In-Reply-To: <590769506CF46967+20250414042629.63019-5-wangyuli@uniontech.com>
On Mon, 2025-04-14 at 12:26 +0800, WangYuli wrote:
> Commit 8fa7292fee5c ("treewide: Switch/rename to
> timer_delete[_sync]()")
> switched del_timer to timer_delete, but did not modify the comment
> for
> snd_korg1212_prepare(). Now fix it.
>
> Cc: Jaroslav Kysela <perex@perex.cz>
> Cc: Takashi Iwai <tiwai@suse.com>
> Cc: Bjorn Helgaas <bhelgaas@google.com>
> Cc: Philipp Stanner <pstanner@redhat.com>
> Cc: SOUND <linux-sound@vger.kernel.org>
> Cc: linux-kernel@vger.kernel.org
> Signed-off-by: WangYuli <wangyuli@uniontech.com>
> ---
> sound/pci/korg1212/korg1212.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/pci/korg1212/korg1212.c
> b/sound/pci/korg1212/korg1212.c
> index 49b71082c485..5e69bb25d420 100644
> --- a/sound/pci/korg1212/korg1212.c
> +++ b/sound/pci/korg1212/korg1212.c
> @@ -1553,7 +1553,7 @@ static int snd_korg1212_prepare(struct
> snd_pcm_substream *substream)
> return -EAGAIN;
> /*
> korg1212->sharedBufferPtr->cardCommand = 0;
> - del_timer(&korg1212->timer);
> + timer_delete(&korg1212->timer);
> korg1212->stop_pending_cnt = 0;
> */
Wouldn't it be better to just remove all that? Or at least document
what it is good for?
P.
> }
next prev parent reply other threads:[~2025-04-14 8:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <37A1CE32D2AEA134+20250414042251.61846-1-wangyuli@uniontech.com>
2025-04-14 4:26 ` [PATCH v2 5/5] ALSA: korg1212: snd_korg1212_prepare: Rename del_timer in comment WangYuli
2025-04-14 8:34 ` Philipp Stanner [this message]
2025-04-14 11:10 ` WangYuli
2025-04-15 15:45 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=70bb676764099754d10c4be2f095e0fb829f233a.camel@redhat.com \
--to=pstanner@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=bhelgaas@google.com \
--cc=guanwentao@uniontech.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=niecheng1@uniontech.com \
--cc=perex@perex.cz \
--cc=tglx@linutronix.de \
--cc=tiwai@suse.com \
--cc=wangyuli@uniontech.com \
--cc=zhanjun@uniontech.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox