30 Apr
2015
30 Apr
'15
11:23 p.m.
On Thu, Apr 30, 2015 at 10:59:22PM +0200, Takashi Iwai wrote:
Ideally, it'd be best if the system can do everything automatically, e.g. loads the DSP driver at first, then falls back to the legacy driver if no DSP is found. But there seems no clean way to do this, so far. Thus the flag was introduced.
Eeew, that's horrible. I guess another DMI quirk table is going to be needed...
Another way to skip the unwanted driver is just to return -ENODEV from its probe callback when the given PCI is SKL and the flag is set. Then the driver core ignores this and continues to the next possible driver (i.e. the dsp one). The same should be applied to hda-soc-skl driver in vice versa.
Right, that was one of my suggestions.