From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: Atsushi Nemoto <anemo@mba.ocn.ne.jp>,
Manuel Lauss <mano@roarinelk.homelinux.net>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ASoC: Only deregister AC97 dev if it's name was not "AC97"
Date: Mon, 16 Mar 2009 16:01:37 +0000 [thread overview]
Message-ID: <20090316160137.GA24994@rakim.wolfsonmicro.main> (raw)
In-Reply-To: <s5hbps1r10t.wl%tiwai@suse.de>
On Mon, Mar 16, 2009 at 03:32:50PM +0100, Takashi Iwai wrote:
> Hm, codec->ac97->dev.bus should be NULL unless it's registered,
> so calling soc_ac97_dev_unregister() should be harmless...
Atsushi, are you using ac97.c as your codec driver? Could you please
post the actual backtrace you're seeing?
> Maybe I miss something?
There's some fun and games here due to ac97.c which provides the ability
to use the standard ALSA AC97 functionality as a codec driver (that's
why there's the check on init) - I suspect there may be a double free.
next prev parent reply other threads:[~2009-03-16 16:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-16 14:26 [PATCH] ASoC: Only deregister AC97 dev if it's name was not "AC97" Atsushi Nemoto
2009-03-16 14:32 ` Takashi Iwai
2009-03-16 15:00 ` Atsushi Nemoto
2009-03-16 16:01 ` Mark Brown [this message]
2009-03-17 1:18 ` Atsushi Nemoto
2009-03-17 13:58 ` Mark Brown
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=20090316160137.GA24994@rakim.wolfsonmicro.main \
--to=broonie@opensource.wolfsonmicro.com \
--cc=anemo@mba.ocn.ne.jp \
--cc=linux-kernel@vger.kernel.org \
--cc=mano@roarinelk.homelinux.net \
--cc=tiwai@suse.de \
/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.