[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1F0B4039A1EC1361+e24aa199-17e5-4cb3-9218-52412a60924e@uniontech.com>
Date: Mon, 14 Apr 2025 19:10:39 +0800
From: WangYuli <wangyuli@...ontech.com>
To: Philipp Stanner <pstanner@...hat.com>
Cc: akpm@...ux-foundation.org, guanwentao@...ontech.com,
linux-kernel@...r.kernel.org, mingo@...nel.org, niecheng1@...ontech.com,
tglx@...utronix.de, zhanjun@...ontech.com, Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>, Bjorn Helgaas <bhelgaas@...gle.com>,
SOUND <linux-sound@...r.kernel.org>
Subject: Re: [PATCH v2 5/5] ALSA: korg1212: snd_korg1212_prepare: Rename
del_timer in comment
Hi Philipp Stanner,
On 2025/4/14 16:34, Philipp Stanner wrote:
> Wouldn't it be better to just remove all that? Or at least document
> what it is good for?
This code comes from commit 4d6dcf60b9 ("ALSA update - documentation
- control API - added multi-elements to reduce memory usage -
improved preallocation of DMA buffers - CS46xx driver - added support
for secondary codec - HDSP driver - big update - firmware is
loaded with hdsptool now - pmac driver updates (fixed oops and beep
stuff) - VIA82xx driver updated - ymfpci driver updated - drivers
updated to new PnP layer - wavefront, ad1816a, cs423x, es18xx,
interwave, opl3sa2, cmi8330") in the history tree [1] as part of a huge
patch.
I couldn't find any useful information about this specific code within
that commit.
Since I'm uncertain if we truly don't need it (this code is marked with
"FIXME" above), I've kept this comment.
Furthermore, this driver has other sections of commented-out code as
well, so a more comprehensive cleanup of this driver might be a better
approach in the future.
If possible, I'd also be happy to contribute to that effort.
However, this commit isn't intended for that purpose.
Its sole aim is to clean up the comment that were missed by commit
8fa7292fee5c ("treewide: Switch/rename to timer_delete_sync") and should
have been updated.
[1].
https://web.git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git/commit/?id=4d6dcf60b98000c204b309b529c10b2a3884789e
Thanks,
--
WangYuli
Download attachment "OpenPGP_0xC5DA1F3046F40BEE.asc" of type "application/pgp-keys" (633 bytes)
Download attachment "OpenPGP_signature.asc" of type "application/pgp-signature" (237 bytes)
Powered by blists - more mailing lists