mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: "Šerif Rami" <ramiserifpersia@gmail.com>,
	linux-sound@vger.kernel.org, "Jaroslav Kysela" <perex@perex.cz>,
	"Takashi Iwai" <tiwai@suse.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v6 1/7] ALSA: usb-audio: Add initial driver for TASCAM US-144MKII
Date: Sat, 30 Aug 2025 11:55:06 +0200	[thread overview]
Message-ID: <0c2906f7-ded0-4609-b9a5-8d6949ab6e07@web.de> (raw)
In-Reply-To: <20250814172222.9448-2-ramiserifpersia@gmail.com>

> This patch introduces …

See also:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.17-rc3#n94> +++ b/sound/usb/usx2y/us144mkii.c
> @@ -0,0 +1,248 @@
> +static int tascam_probe(struct usb_interface *intf,
> +			const struct usb_device_id *usb_id)
> +{
> +	char *handshake_buf __free(kfree) = NULL;
> +
> +	if (dev->speed != USB_SPEED_HIGH)
> +	handshake_buf = kmalloc(1, GFP_KERNEL);
…

Can another software design option become more attractive?
May the scope be reduced for such a variable?

Regards,
Markus

  reply	other threads:[~2025-08-30  9:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-14 17:22 [PATCH v6 0/7] ALSA: usb-audio: Add " Šerif Rami
2025-08-14 17:22 ` [PATCH v6 1/7] ALSA: usb-audio: Add initial " Šerif Rami
2025-08-30  9:55   ` Markus Elfring [this message]
2025-08-14 17:22 ` [PATCH v6 2/7] ALSA: usb-audio: us144mkii: Add PCM core infrastructure Šerif Rami
2025-08-14 17:22 ` [PATCH v6 3/7] ALSA: usb-audio: us144mkii: Implement audio playback and feedback Šerif Rami
2025-08-14 17:22 ` [PATCH v6 4/7] ALSA: usb-audio: us144mkii: Implement audio capture and decoding Šerif Rami
2025-08-14 17:22 ` [PATCH v6 5/7] ALSA: usb-audio: us144mkii: Add MIDI support and mixer controls Šerif Rami
2025-08-14 17:22 ` [PATCH v6 6/7] ALSA: usb-audio: us144mkii: Add deep sleep command Šerif Rami
2025-08-14 17:22 ` [PATCH v6 7/7] ALSA: usb-audio: Add infrastructure for TASCAM US-144MKII Šerif Rami
2025-08-15 15:55 ` [PATCH v6 0/7] ALSA: usb-audio: Add driver " 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=0c2906f7-ded0-4609-b9a5-8d6949ab6e07@web.de \
    --to=markus.elfring@web.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=ramiserifpersia@gmail.com \
    --cc=tiwai@suse.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

all inboxes | Powered by JetHome®