diff options
| author | Ketan Patil <ketanp@nvidia.com> | 2021-11-09 09:14:14 -0500 |
|---|---|---|
| committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2021-12-10 10:54:20 -0500 |
| commit | 34d8735fb9bdab04a7cfaee566f60341b659a911 (patch) | |
| tree | 3e3753a57bc4aede75faee4afbc35d85eab46168 /include/linux | |
| parent | 6e0deb8f01a2102a4fb7384e79142e989eddab1f (diff) | |
tegra: mc: Add resume function for mc
mc_err is not reported after device resume as MC_INTMASK register is in
reset state. Restore this register in resume.
Bug 3418979
Change-Id: I04884b81164a4b95e1f11e6e78e35499b6f5e977
Signed-off-by: Ketan Patil <ketanp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2622984
(cherry picked from commit c9638f54e8b3dc48158cce548c24bae6dbf09adc)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2638812
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Puneet Saxena <puneets@nvidia.com>
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/platform/tegra/mcerr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/platform/tegra/mcerr.h b/include/linux/platform/tegra/mcerr.h index 512b43e22..ead72f330 100644 --- a/include/linux/platform/tegra/mcerr.h +++ b/include/linux/platform/tegra/mcerr.h | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | * MC error interrupt handling header file. Various defines and declarations | 2 | * MC error interrupt handling header file. Various defines and declarations |
| 3 | * across tegra chips. | 3 | * across tegra chips. |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2010-2018, NVIDIA Corporation. All rights reserved. | 5 | * Copyright (c) 2010-2021, NVIDIA Corporation. All rights reserved. |
| 6 | * | 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify | 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by | 8 | * it under the terms of the GNU General Public License as published by |
| @@ -53,6 +53,7 @@ | |||
| 53 | 53 | ||
| 54 | struct platform_device; | 54 | struct platform_device; |
| 55 | int tegra_mcerr_init(struct dentry *mc_paren, struct platform_device *pdev); | 55 | int tegra_mcerr_init(struct dentry *mc_paren, struct platform_device *pdev); |
| 56 | void tegra_mcerr_resume(void); | ||
| 56 | irqreturn_t tegra_mc_handle_general_fault(int src_chan, int intstatus); | 57 | irqreturn_t tegra_mc_handle_general_fault(int src_chan, int intstatus); |
| 57 | 58 | ||
| 58 | /* | 59 | /* |
