From cb3ee0e10be4dfccbf712f0bdafce99b47763fd4 Mon Sep 17 00:00:00 2001 From: Banajit Goswami Date: Fri, 30 Mar 2018 13:17:39 -0700 Subject: [PATCH] dsp: adsp-loader: avoid updating APR state after ADSP loading APR state update should happen only after ADSP up notification recieved by APSS, and not just after ADSP is loaded and booted up. Avoid setting APR state to loaded after PIL loading of ADSP image is complete. Change-Id: I9b9f073279c306562e427ec2c7e73dfa7d71f956 Signed-off-by: Banajit Goswami --- dsp/adsp-loader.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dsp/adsp-loader.c b/dsp/adsp-loader.c index 07eeea4e4c..cc995db906 100644 --- a/dsp/adsp-loader.c +++ b/dsp/adsp-loader.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2014, 2017, The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2014, 2017-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -134,9 +134,6 @@ load_adsp: __func__); goto fail; } - - /* Set the state of the ADSP in APR driver */ - apr_set_q6_state(APR_SUBSYS_LOADED); } else if (adsp_state == APR_SUBSYS_LOADED) { dev_dbg(&pdev->dev, "%s: ADSP state = %x\n", __func__, adsp_state);