Re: [PATCH] ASoC: Only deregister AC97 dev if it's name was not"AC97"

From: Mark Brown
Date: Tue Mar 17 2009 - 09:58:52 EST


On Tue, Mar 17, 2009 at 10:18:38AM +0900, Atsushi Nemoto wrote:

> Yes. I'm using ac97.c and here is the backtrace. The first argument
> of sysfs_get_dirent (dir_sd) was NULL. The bottom
> platform_device_unregister call is for "soc-audio" device.

OK, I've confirmed the problem and applied your patch - thanks. The
issue is that the standard AC97 support doesn't play too nicely with
ASoC so we need to jump through a couple of hoops to fit in with what
it's doing.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/