Dne 08. 12. 20 v 19:06 Mukunda,Vijendar napsal(a):
On 08/12/20 11:10 pm, Mark Brown wrote:
On Tue, Dec 08, 2020 at 05:24:32PM +0100, Takashi Iwai wrote:
BTW, both Raven and Reonir drivers point to the very same PCI ID, and both drivers will be probed for this machine (and both to be skipped).
Ugh, that's not good. It's not even super obvious from the code that this is happening. Seems like it should be one core driver which instantiates the components for Raven and Reonir as appropriate, the PCI driver is pretty thin at present anyway.
Raven and Renoir has same PCI ID but both platforms have different revision ID. Raven platform revision id is 0x00 where as for Renoir it is 0x01.
I don't see pci->revision early check in the probe callbacks.
Jaroslav