mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 01:31:30 +03:00
nvethernet: Add IVC fix
Issue: rt_spinlock causes IVC failures. Fix: 1. Change rt_spinlock to spinlock. 2. Add timeout to ivc_can_read. Bug 2694285 Change-Id: Ib603c304e750a33262e8509ed3f869030b934958 Signed-off-by: Nagaraj Annaiah <nannaiah@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2497217 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: Srinivas Ramachandran <srinivasra@nvidia.com> Reviewed-by: Ashutosh Jha <ajha@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
Revanth Kumar Uppala
parent
f4d30eb89b
commit
8c8eceeeb7
@@ -760,7 +760,7 @@ static void ether_start_ivc(struct ether_priv_data *pdata)
|
||||
}
|
||||
ictxt->ivc_state = 1;
|
||||
// initialize
|
||||
raw_spin_lock_init(&ictxt->ivck_lock);
|
||||
spin_lock_init(&ictxt->ivck_lock);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user