mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
msm: cvp: fix DSP probe crash
Fix dsp probe crash from cvp driver when cvp hardware is enabled. Change-Id: I22abb2ccd3e4a8c983b9bc3f49ea86d9f41f546b Signed-off-by: Ruofei Ma <ruofeim@codeaurora.org>
This commit is contained in:
parent
190224d2fb
commit
9099e8a87c
2 changed files with 3 additions and 3 deletions
|
|
@ -389,7 +389,7 @@ void cvp_dsp_send_hfi_queue(void)
|
|||
int rc;
|
||||
|
||||
core = list_first_entry(&cvp_driver->cores, struct msm_cvp_core, list);
|
||||
if (core)
|
||||
if (core && core->device)
|
||||
device = core->device->hfi_device_data;
|
||||
else
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/debugfs.h>
|
||||
|
|
@ -108,7 +108,7 @@ static struct msm_cvp_common_data sm8350_common_data[] = {
|
|||
},
|
||||
{
|
||||
.key = "qcom,sw-power-collapse",
|
||||
.value = 1,
|
||||
.value = 0,
|
||||
},
|
||||
{
|
||||
.key = "qcom,domain-attr-non-fatal-faults",
|
||||
|
|
|
|||
Loading…
Reference in a new issue