Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3027138rwb; Mon, 15 Aug 2022 16:25:25 -0700 (PDT) X-Google-Smtp-Source: AA6agR4ATywB9CPKwzQKLo5N8LMEA5lsci3ZD2G4sjoSdZ8XRhNykU9vek0PbenLNeY05T3ApDwb X-Received: by 2002:a17:906:58d1:b0:733:f:a0ee with SMTP id e17-20020a17090658d100b00733000fa0eemr11800011ejs.368.1660605836498; Mon, 15 Aug 2022 16:23:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660605836; cv=none; d=google.com; s=arc-20160816; b=UCpoW2ccm3QbhROs6rTo968w6SI1yDNyvMosJUZLJ16Oz9QGUhpJBjhTdag14vJhao MnT+TsgllT2Omom/EJLT8jO32IAwYIrXnQVq2/IY2+1LFoSbKnxGcWUsyFDX1Vmbwi35 ELP+XDcebvssxCtxvycLtARriSCqgJIr+lJ87S99DJvHHFNhteI+3LLaz8CYeq3tspQS CR5Qb9CPHUWmuChFVVgWwlTGaMvVu+MgczO4JWicp2KrVQci72SUH+n+QH6o47GTYaQG iGfgoLyMkuYvzUQj/Q8WxMOMvlguxRqbPBIp3z4NRdVJJWzYjnMI6sIja7RYVoNt3cb6 c7Cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=dCjQn9ZKwsHmKUts4bDIiXJ0HWg7NBgFLdEcMhHln6A=; b=RVyEShNo28/gKO9Dv5YT+iuyUVQBMKA4TC69+LHOzZhY7+P44bDl+x6rx9G1o2N5gm bg1j5pjAdN0jhggV4/0z6MzjzTd4XdK3KEK4Bna3pu64YBkyJSyD+4qw89FMNx+73T6o pMYm0k2GJcfAdVl1itJ5Gu+vx/pLNYZ9KAKybU7w4Qy6XaVvB1LQ6Lp4PmTX28exk6Z7 m7L1+ITClgolu/XKog4zl+7ngdl6+JolXKQyvYiIckYHPInT0BNxD/hKPMVEqsPtgsU5 IQD+XKcC6wOr4jCaxqBZHOZSXQKY2WZAOsnmc/IbgIf7I4N0T2ag3oqu2b5Cs+gk2cKb E1Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Ld0sjg0N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q11-20020a056402032b00b0043d4fe7f8e7si8226205edw.330.2022.08.15.16.23.31; Mon, 15 Aug 2022 16:23:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Ld0sjg0N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351350AbiHOWmA (ORCPT + 99 others); Mon, 15 Aug 2022 18:42:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350877AbiHOWhQ (ORCPT ); Mon, 15 Aug 2022 18:37:16 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D01DD5F12B; Mon, 15 Aug 2022 12:50:38 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 37A5160FB5; Mon, 15 Aug 2022 19:49:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09E40C433C1; Mon, 15 Aug 2022 19:49:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660592987; bh=u3MJlF94TEUlwGT6XhEOyGzd+wXV3YqFsvsnUO3j5f8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ld0sjg0NMsfMteaAwSPQyGG3+WPVE50Om7/lZ2o6voLHzC03sTa3qLHY0sNXkqACp U+7GQv/qszIxZaAm1x8JndbF/cXivX6ew4nqYZI8w8SxvVFw4OSyWjdC/7+ZOCceuo KvTC6CLZVH3L05GmApBVCRRuEerotYy788IXqv0M= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Pierre-Louis Bossart , YC Hung , Li-Yu Yu , Ranjani Sridharan , KuanHsun Cheng , =?UTF-8?q?P=C3=A9ter=20Ujfalusi?= , Mark Brown , Sasha Levin Subject: [PATCH 5.18 0876/1095] ASoC: SOF: mediatek: fix mt8195 StatvectorSel wrong setting Date: Mon, 15 Aug 2022 20:04:35 +0200 Message-Id: <20220815180505.597440635@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: YC Hung [ Upstream commit 99bad468846f7a255dcfc95454401c83ae02e89b ] Fix StatVectorSel wrong setting. Fixes: b7f6503830 ("ASoC: SOF: mediatek: Add fw loader and mt8195 dsp ops to load firmware") Signed-off-by: Pierre-Louis Bossart Signed-off-by: YC Hung Reviewed-by: Li-Yu Yu Reviewed-by: Ranjani Sridharan Reviewed-by: KuanHsun Cheng Reviewed-by: Péter Ujfalusi Link: https://lore.kernel.org/r/20220708203904.29214-3-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/sof/mediatek/mt8195/mt8195-loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/sof/mediatek/mt8195/mt8195-loader.c b/sound/soc/sof/mediatek/mt8195/mt8195-loader.c index ed18d6379e92..ef2664c3cd47 100644 --- a/sound/soc/sof/mediatek/mt8195/mt8195-loader.c +++ b/sound/soc/sof/mediatek/mt8195/mt8195-loader.c @@ -21,7 +21,7 @@ void sof_hifixdsp_boot_sequence(struct snd_sof_dev *sdev, u32 boot_addr) /* pull high StatVectorSel to use AltResetVec (set bit4 to 1) */ snd_sof_dsp_update_bits(sdev, DSP_REG_BAR, DSP_RESET_SW, - DSP_RESET_SW, DSP_RESET_SW); + STATVECTOR_SEL, STATVECTOR_SEL); /* toggle DReset & BReset */ /* pull high DReset & BReset */ -- 2.35.1