mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
ivc: fix ivc driver issue for noble kernel
Bug 4377196
Change-Id: I4acc2d4e419f0ee95be760910f27da592369875c
Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3026287
(cherry picked from commit 54e431bcc9)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3283409
Reviewed-by: Paritosh Dixit <paritoshd@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Tested-by: Paritosh Dixit <paritoshd@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
3ff44d5400
commit
a08c7112e7
@@ -197,7 +197,7 @@ static inline int tegra_ivc_check_read(struct tegra_ivc *ivc)
|
|||||||
tegra_ivc_invalidate(ivc, ivc->rx.phys + offset);
|
tegra_ivc_invalidate(ivc, ivc->rx.phys + offset);
|
||||||
|
|
||||||
#if defined(NV_TEGRA_IVC_STRUCT_HAS_IOSYS_MAP)
|
#if defined(NV_TEGRA_IVC_STRUCT_HAS_IOSYS_MAP)
|
||||||
if (!tegra_ivc_empty(ivc, &ivc->rx.map))
|
if (tegra_ivc_empty(ivc, &ivc->rx.map))
|
||||||
#else
|
#else
|
||||||
if (tegra_ivc_empty(ivc, ivc->rx.channel))
|
if (tegra_ivc_empty(ivc, ivc->rx.channel))
|
||||||
#endif
|
#endif
|
||||||
@@ -229,7 +229,7 @@ static inline int tegra_ivc_check_write(struct tegra_ivc *ivc)
|
|||||||
tegra_ivc_invalidate(ivc, ivc->tx.phys + offset);
|
tegra_ivc_invalidate(ivc, ivc->tx.phys + offset);
|
||||||
|
|
||||||
#if defined(NV_TEGRA_IVC_STRUCT_HAS_IOSYS_MAP)
|
#if defined(NV_TEGRA_IVC_STRUCT_HAS_IOSYS_MAP)
|
||||||
if (!tegra_ivc_full(ivc, &ivc->tx.map))
|
if (tegra_ivc_full(ivc, &ivc->tx.map))
|
||||||
#else
|
#else
|
||||||
if (tegra_ivc_full(ivc, ivc->tx.channel))
|
if (tegra_ivc_full(ivc, ivc->tx.channel))
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user