Manish Bhardwaj
|
16d1e13a3b
|
mttcan: fix compilation error for android
1. nvidia-oot/drivers/net/can/mttcan/native/../
include/m_ttcan_linux.h:35:10:
fatal error: 'linux/tegra_prod.h' file not found
^~~~~~~~~~~~~~~~~~~~
1 error generated.
2. nvidia-oot/drivers/net/can/mttcan/hal/m_ttcan.c:330:6:
warning: unused variable _tdcr_reg_ [-Wunused-variable]
330 | u32 tdcr_reg;
| ^~~~~~~~
Bug 4174549
Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com>
Change-Id: I57ae8d1234745996fb1277c64c632d2d1026a870
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2928348
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bruce Xu <brucex@nvidia.com>
Tested-by: Bruce Xu <brucex@nvidia.com>
|
2023-06-30 13:01:41 -07:00 |
|
Manish Bhardwaj
|
df0489a1e0
|
CAN: program prod setting for tdcr register
Using this patch we are programming tdcr register
of can controllers based on the data speed.
Bug 4165928
Change-Id: I4d3f9426695b4ac19bef144f242dcf74371c00b7
Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2924921
Reviewed-by: Suresh Venkatachalam <skathirampat@nvidia.com>
Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
|
2023-06-28 01:58:03 -07:00 |
|
Laxman Dewangan
|
1d719d1580
|
can: mttcan: Fix fall through warning
There is switch-case where one case is falling to the
next case. This is creating the compilation warning.
Make this fall through as intentional by adding
compiler attribute as "fallthrough".
Bug 4052299
Change-Id: Ie1fd5a056bd7b6a79f12b73a23a5b0083f08ab55
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2880033
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
|
2023-04-01 10:55:02 -07:00 |
|
Manish Bhardwaj
|
0e0d2f2c07
|
nvidia-oot: add support for mttcan driver
Using this patch we are adding support for
mttcan driver in oot kernel.
JIRA ESLC-6885
Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com>
Change-Id: I83a6d43aa99278a546778cf1700e2bd106ec42a9
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2785360
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
|
2022-10-03 21:31:05 -07:00 |
|