Takashi Iwai wrote:
Ondrej Zary wrote:
On Tuesday 17 April 2012 21:12:33 you wrote:
Ondrej Zary wrote:
Xonar (oxygen) has a private version of these drivers too. It could be converted to use common code instead.
Hm, only if the generated controls do match with your case,.. It's case by case, especally if there is only one another candidate.
Control names can be changed (and also disabled) by the driver. In fact, psc724 does exactly this as is needs the WM8776 controls to be named as "front" and WM8766 as "rear". I don't see any problem if something needs to be changed for this code to be used by Xonar (or some other driver).
OK, it depends on Clemens, whether the shared code is preferred (and maintainable).
I've always planned to move the Xonar driver to the ASoC framework. (I didn't at first because ASoC didn't support multiple codecs then.) The only problem is finding time to do this ...
Sharing the code between ice1712 and xonar might be a first step.
Regards, Clemens