mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
dsp: host driver panic [1/1]
PD#SWPL-184597 Problem: when there is no dsp, the dsp pointer is used (host->host_dsp->pm_support_ffv),so it cause panic Solution: when there is no dsp, the judgment is not executed Verify: sm1 Change-Id: I2342d12f279c4a888a0705a2bb1cd21f59be9fc1 Signed-off-by: Liming Xue <liming.xue@amlogic.com>
This commit is contained in:
committed by
gerrit autosubmit
parent
d7c1add259
commit
96fc53690c
+1
-1
@@ -1155,7 +1155,7 @@ static int host_platform_probe(struct platform_device *pdev)
|
||||
host_data->host = host;
|
||||
platform_set_drvdata(pdev, host);
|
||||
|
||||
if (host->host_dsp->pm_support_ffv) {
|
||||
if (strstr(host_data->name, "dsp") && host->host_dsp->pm_support_ffv) {
|
||||
#ifdef CONFIG_AMLOGIC_LEGACY_EARLY_SUSPEND
|
||||
register_host_early_suspend_handler(host);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user