• Bjorn Helgaas's avatar
    PCI: Fix TI816X class code quirk · d1541dc9
    Bjorn Helgaas authored
    In fixup_ti816x_class(), we assigned "class = PCI_CLASS_MULTIMEDIA_VIDEO".
    But PCI_CLASS_MULTIMEDIA_VIDEO is only the two-byte base class/sub-class
    and needs to be shifted to make space for the low-order interface byte.
    
    Shift PCI_CLASS_MULTIMEDIA_VIDEO to set the correct class code.
    
    Fixes: 63c44080 ("PCI: Add quirk for setting valid class for TI816X Endpoint")
    Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
    CC: Hemant Pedanekar <hemantp@ti.com>
    d1541dc9
quirks.c 141 KB