All of lore.kernel.org
 help / color / mirror / Atom feed
From: Charles Keepax <ckeepax@opensource.cirrus.com>
To: Richard Fitzgerald <rf@opensource.cirrus.com>
Cc: vkoul@kernel.org, linux-sound@vger.kernel.org,
	linux-kernel@vger.kernel.org, patches@opensource.cirrus.com
Subject: Re: [PATCH] soundwire: bus_type: Use devres to free slave IDA
Date: Mon, 31 Aug 2026 12:51:33 +0100	[thread overview]
Message-ID: <apVqxTUmZRU6SYpZ@opensource.cirrus.com> (raw)
In-Reply-To: <20260831112939.126708-1-rf@opensource.cirrus.com>

On Mon, Aug 31, 2026 at 12:29:39PM +0100, Richard Fitzgerald wrote:
> Create a devres cleanup action to call ida_free(). This ensures that it
> is freed after anything that is cleaned up by devres and might have been
> using the allocated ID. It also avoids mixing devres and manual cleanup
> during sdw_bus_probe().
> 
> Fixes: aab12022b076f ("soundwire: bus: Add internal slave ID and use for IRQs")
> Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
> ---

Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>

Thanks,
Charles

  reply	other threads:[~2026-08-31 11:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-31 11:29 [PATCH] soundwire: bus_type: Use devres to free slave IDA Richard Fitzgerald
2026-08-31 11:51 ` Charles Keepax [this message]
2026-09-01 17:15 ` Vinod Koul

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=apVqxTUmZRU6SYpZ@opensource.cirrus.com \
    --to=ckeepax@opensource.cirrus.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=patches@opensource.cirrus.com \
    --cc=rf@opensource.cirrus.com \
    --cc=vkoul@kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.