lkml.org 
[lkml]   [2009]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ASoC: Only deregister AC97 dev if it's name was not "AC97"
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.


\
 
 \ /
  Last update: 2009-03-16 17:05    [W:0.048 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site