commit | f1331ea8ee0a7fe9a832a403587528adddd03561 | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Mon Dec 09 13:00:00 2019 +0100 |
committer | Ben Skeggs <bskeggs@redhat.com> | Wed Jan 15 10:49:58 2020 +1000 |
tree | e88df4f96c191f88c446661e3c240816e751c096 | |
parent | 0ac7facb7071836154687a228eaead3fc82297c1 [diff] |
drm/nouveau: Do not try to disable PCI device on Tegra When Nouveau is instantiated on top of a platform device, the dev->pdev field will be NULL and calling pci_disable_device() will crash. Move the PCI disabling code to the PCI specific driver removal code. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>