mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
misc: mods: update MODS kernel driver to 4.1
Change-Id: I56377b85ff0909dba419c8e3f6df16c9302d6dc5 Signed-off-by: Chris Dragan <kdragan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2456573 Reviewed-by: svcguardwords <svcguardwords@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
Laxman Dewangan
parent
125e88df0a
commit
a51241efac
@@ -127,7 +127,7 @@ void mods_disable_device(struct mods_client *client,
|
||||
WARN_ON(!mutex_is_locked(&mp.mtx));
|
||||
|
||||
#ifdef MODS_HAS_SRIOV
|
||||
if (dpriv->num_vfs)
|
||||
if (dpriv && dpriv->num_vfs)
|
||||
pci_disable_sriov(dev);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user