Re: snd-soc-cs4270: Convert to a new-style i2c driver (work in progress)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Aug 31, 2008 at 12:09 PM, Jean Delvare <khali@xxxxxxxxxxxx> wrote:

> * Your driver now lacks a remove method. Unless I miss something, if
> the snd-soc-cs4270 driver is unloaded, you will leave dangling
> resources behind (codec->reg_cache in particular.)

I'm working on a fix for this, but there's something you need to know.
 I don't think ASoC V1 modules can be unloaded.  The drivers have
hard-coded cross-dependencies.  The codec driver doesn't have this
problem, but in general it's not really possible to select ASoC
drivers as modules in Kconfig anyway.  The "tristate" I mentioned is
misleading.

-- 
Timur Tabi
Linux kernel developer at Freescale
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux