Re: [alsa-devel] [RFC] [PATCH 1/3] ASoC: Add support for ConexantCX20442-11 voice modem codec

From: Mark Brown
Date: Tue Jul 28 2009 - 12:11:44 EST


On Tue, Jul 28, 2009 at 06:07:29PM +0200, Janusz Krzysztofik wrote:

> What I would like to retain from the current codec driver are those two modes
> of operation: without and with the line discipline activated. Initially, the
> codec would be registered as a platform device, as it is now. Activation of
> the line discipline would deregister the codec device from the platform bus
> and reregister it again, now as the line discipline provided device. Is this
> possible with current ASoC framework?

No, not currently. But why would you do that, anyway?

Like I say, I'd suggest always keeping the controls registered and just
masking and unmasking from user space - the control indexes get used so
removing them will just confuse things.
--
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/