mirror of
git://nv-tegra.nvidia.com/kernel/nvethernetrm.git
synced 2025-12-22 17:34:29 +03:00
nvethernetrm: core: Fix argument passed for pad calibration
Issue: Pad calibration failed when the OSI API function osi_pad_calibrate is invoked, but works when pad calibration is triggered internally in osi_hw_core_init. Issue is the OSI API passes incorrect argument for base address. Fix: Provide the correct base address in OSI interface API. Bug 200512422 Change-Id: I625f3269452e31e89fef07f960c80a2fd2024634 Signed-off-by: Srinivas Ramachandran <srinivasra@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2163995 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
2a539aedd8
commit
59d5f5da4e
@@ -275,7 +275,7 @@ int osi_pad_calibrate(struct osi_core_priv_data *osi_core)
|
|||||||
{
|
{
|
||||||
if ((osi_core != OSI_NULL) && (osi_core->ops != OSI_NULL) &&
|
if ((osi_core != OSI_NULL) && (osi_core->ops != OSI_NULL) &&
|
||||||
(osi_core->ops->pad_calibrate != OSI_NULL)) {
|
(osi_core->ops->pad_calibrate != OSI_NULL)) {
|
||||||
return osi_core->ops->pad_calibrate(osi_core);
|
return osi_core->ops->pad_calibrate(osi_core->base);
|
||||||
}
|
}
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
|
|||||||
Reference in New Issue
Block a user