At Tue, 17 Apr 2012 17:50:06 +0100, Mark Brown wrote:
On Tue, Apr 17, 2012 at 06:32:18PM +0200, Takashi Iwai wrote:
Mark Brown wrote:
What makes you cleaim that "ASoC was not designed to be used with sound cards"? Implementing sound cards is the sole purpose of ASoC...
You don't need to overreact, he surely means only about the existing ice1724 sound driver for his device :)
Possibly... it's really not clear.
Restructuring ice1712 and ice1724 drivers to use ASoC would require quite a lot of works, and no one really wants it, I guess. Many boards are old and can't be tested easily. And, we still need to match the ASoC components with the controls of the current driver.
This was already discussed a bit, and Clemens suggested like this way.
This isn't just adding something into a specific driver which fails at abstraction, it's adding generic code. If it were adding something to the ice17xx driver then that'd be one thing but look at the subject line and location of the file... this stuff should be buried inside the driver if it's too painful to make the driver sane.
The codes in sound/i2c are mostly oly for ice1712/ice1724 drivers after all... They could be used by others, but I don't think there will be any more at this point.
Takashi