25 Apr
2008
25 Apr
'08
3:04 p.m.
At Fri, 25 Apr 2008 13:22:11 +0200 (CEST), Jaroslav Kysela wrote:
On Fri, 25 Apr 2008, Takashi Iwai wrote:
Your driver does _not_ know what type it is because the data isn't created by your driver but the controller driver. And, it's free to attach your driver to any controller.
But controller knows which codec (using ID bytes) is attached, thus it can fill appropriate information only for this codec.
This would be an option, too.
Of course, it will work when only one additional device is sharing bus with codec. See:
Indeed.
Takashi