mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-25 02:32:08 +03:00
mods: Suspend adsp instead of stopping
Bug 200381062 Change-Id: I36d7eba4159209606adf89fdf41615e39ff87d5c Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1645024 Reviewed-by: Sachin Nikam <snikam@nvidia.com> Tested-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Laxman Dewangan
parent
5014bffa1f
commit
e2187c16d6
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* mods_adsp.c - This file is part of NVIDIA MODS kernel driver.
|
||||
*
|
||||
* Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved.
|
||||
*
|
||||
* NVIDIA MODS kernel driver is free software: you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License,
|
||||
@@ -33,8 +33,7 @@ int esc_mods_adsp_start(struct file *pfile)
|
||||
|
||||
int esc_mods_adsp_stop(struct file *pfile)
|
||||
{
|
||||
nvadsp_os_stop();
|
||||
return OK;
|
||||
return nvadsp_os_suspend();
|
||||
}
|
||||
|
||||
int esc_mods_adsp_run_app(struct file *pfile, struct MODS_ADSP_RUN_APP_INFO *p)
|
||||
|
||||
Reference in New Issue
Block a user