mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Sreeraj S Kurup <sreekuttan2156239@gmail.com>
Cc: tiwai@suse.de, perex@perex.cz, johannes@sipsolutions.net,
	linuxppc-dev@lists.ozlabs.org, linux-sound@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ALSA: aoa: Return ENODEV when no sound card is available
Date: Tue, 01 Dec 2026 08:47:16 +0100	[thread overview]
Message-ID: <87h5gx1lyz.wl-tiwai@suse.de> (raw)
In-Reply-To: <20261130123445.3060-1-sreekuttan2156239@gmail.com>

On Mon, 30 Nov 2026 13:34:45 +0100,
Sreeraj S Kurup wrote:
> 
> aoa_snd_device_new() returns -ENOMEM when aoa_get_card()
> returns NULL.
> 
> This is misleading because the failure indicates that no ALSA
> card is available, not that memory allocation failed.
> 
> Return -ENODEV instead to report the missing device correctly.
> 
> Signed-off-by: Sreeraj S Kurup <sreekuttan2156239@gmail.com>

Applied to for-next branch.  Thanks.


Takashi

  reply	other threads:[~2026-12-01  7:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 12:34 Sreeraj S Kurup
2026-12-01  7:47 ` Takashi Iwai [this message]
2026-12-01 12:45   ` Sreeraj S Kurup

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=87h5gx1lyz.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=johannes@sipsolutions.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=perex@perex.cz \
    --cc=sreekuttan2156239@gmail.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®