Several braces were misplaced unintentionally. That caused the msi handling
became part of the default case of the first switch statement. So add the
missing ones.
Signed-off-by: Vince Hsu <[email protected]>
Signed-off-by: Ben Skeggs <[email protected]>
pmc->unk260 = nouveau_mc_unk260;
- if (nv_device_is_pci(device))
+ if (nv_device_is_pci(device)) {
switch (device->pdev->device & 0x0ff0) {
case 0x00f0:
case 0x02e0:
default:
pmc->use_msi = true;
break;
+ }
}
pmc->use_msi = nouveau_boolopt(device->cfgopt, "NvMSI",