mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
When mttcan - is set into DAR (Disable Automatic Retransmission) mode - and Protocol Exception Handling is enabled - and PXE (Protocol Exeception Event) is generated then no TCF (Transmission cancellation Finished) event is generated. This leads to mismatch between internal driver state and mttcan HW state. This results in "no buffer space available" error. This patch clears the driver internal state in close callback to handle this situation. Bug 200502350 Change-Id: Ie9f8fcc902a8d9b6c65662888904be5ad9aae49e Signed-off-by: Abhijit <abhijit@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2854706 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2921328 Tested-by: Manish Bhardwaj <mbhardwaj@nvidia.com> Reviewed-by: Manish Bhardwaj <mbhardwaj@nvidia.com> Reviewed-by: Suresh Venkatachalam <skathirampat@nvidia.com> Reviewed-by: Sandeep Trasi <strasi@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>