Linux Sound subsystem development
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Haoxiang Li <haoxiang_li2024@163.com>
Cc: perex@perex.cz, tiwai@suse.com, cassiogabrielcontato@gmail.com,
	tim.bird@sony.com, linux-sound@vger.kernel.org
Subject: Re: [PATCH] sound/oss/dmasound: unregister OSS devices on init failure
Date: Fri, 27 Nov 2026 18:34:51 +0100	[thread overview]
Message-ID: <87bj7amb44.wl-tiwai@suse.de> (raw)
In-Reply-To: <20261127045509.333969-1-haoxiang_li2024@163.com>

On Fri, 27 Nov 2026 05:55:09 +0100,
Haoxiang Li wrote:
> 
> dmasound_init() registers dsp, special sound and mixer device
> but never unregisters if something fails. Unregister the devices
> in the error handling path so a failed initialization leaves
> no stale OSS registrations. Also fix some code styles.
> 
> Signed-off-by: Haoxiang Li <haoxiang_li2024@163.com>

Applied to for-next branch.  Thanks.


Takashi

      reply	other threads:[~2026-11-27 17:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27  4:55 [PATCH] sound/oss/dmasound: unregister OSS devices on init failure Haoxiang Li
2026-11-27 17:34 ` Takashi Iwai [this message]

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=87bj7amb44.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=cassiogabrielcontato@gmail.com \
    --cc=haoxiang_li2024@163.com \
    --cc=linux-sound@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=tim.bird@sony.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