On Tue, Jul 01, 2014 at 11:28:44AM +0200, Arnaud Pouliquen wrote:
On 06/30/2014 12:31 PM, Mark Brown wrote:
No, this is is not at all sensible - don't do that. Think about it for a minute - if this were something we wanted to do it's going to apply just as much to any other I2S controller so we should be doing it in the core.
In fact what i really need is a dummy codec driver. But, perhaps, may i the only one to see advantages of using a dummy codec. if it is the case i will implement a dummy DAI in my codec driver. Otherwise tell me if you are interested in a generic dummy codec drivers.
This does not seem like a good idea, but then the only use case you've articulated is running with no CODEC connected which doesn't seem terribly useful and certainly doesn't seem like something we should be open coding in a machine driver.