Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3118263rwb; Mon, 15 Aug 2022 18:33:49 -0700 (PDT) X-Google-Smtp-Source: AA6agR4WkoMB+X/zQRrKUpg1eJdz/EP3qMNyHSbz+pQYvDIPa4igQYqCVXE7EiZWzNoghMOSY2FY X-Received: by 2002:a17:902:820b:b0:170:f3ae:bd0e with SMTP id x11-20020a170902820b00b00170f3aebd0emr3081808pln.143.1660613629702; Mon, 15 Aug 2022 18:33:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660613629; cv=none; d=google.com; s=arc-20160816; b=oTaM9dXd9rtdW+tkSpX71Kk35kOLnoU4nO2mHWjmvlNvj6uCFai7ukTWwhOv6BFybj KbxnPRFLTDozLKQ87GeaFPbJuOu+s8QBcndzRswwZPsbTC7b8cGtHxHq/MODVhwk6+Qw Mo51fg5oFAn3PohkRPFKphgl6TBDxRpVOihZGG6pTDmFbV1hxeqbQOj9G38SQ9pxAiN5 Ej6+yBhGjbsGPye77fo/RHKGOgT3ukj/2AI3iT7tfzDtgF9EmoMXiaZoLsAN+oLvdYmG xxNVCGef17wUYH7QFKDVcXYx8Keq4/Tk9PHh+3LRHQu7TZXdiViWe7QiJi7qEvD5oEyy zuYQ== 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=YQkKpoJXpyRQLjRshTpjmLezL6fscxT5s6RItCC5R8FyL7rwG3H0RSrVGAnOI3TBqJ DiT2oVpL+VDIj9KuF9FNMgiovuqnz7pDmS4LVJl7LXy3J9DeD9Pj9z4YgobJSF/d95lZ XyasX0RWsONK1l4XnRa2NPZjlL7fyFx0deX/NBqDCDXpC7wM1GBdEtak3Xm3HFkqvYz9 yMSt5E09DqbdV56bgLfKSbwxF7dd9J7IU0zfm3aUIgfXkLBVrcHkXSA6FLmPNImkhqRG sjKiTYvewerftRXXOoWerh1zleZiFbkqa2Ti4hYm9OIywDcO1Kcq6YH6jeXMKAG8jYkz jOkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=XNYkyUF7; 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 w10-20020a63160a000000b0041a2b18788dsi12274616pgl.364.2022.08.15.18.33.39; Mon, 15 Aug 2022 18:33:49 -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=XNYkyUF7; 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 S233481AbiHPApb (ORCPT + 99 others); Mon, 15 Aug 2022 20:45:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346198AbiHPAnP (ORCPT ); Mon, 15 Aug 2022 20:43:15 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4B2FD419E; Mon, 15 Aug 2022 13:40:19 -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 EED2B61233; Mon, 15 Aug 2022 20:40:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B9291C433C1; Mon, 15 Aug 2022 20:40:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660596018; bh=u3MJlF94TEUlwGT6XhEOyGzd+wXV3YqFsvsnUO3j5f8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XNYkyUF7BIFQ4owC5p+PtLJM7Cz6YbpaONacuHrfGa2D2J878a0L6qnVZHAF3ZoZy cZZBAH5ln0AYdZPXZ6F1H/Tzdsa+cHJhqK4ZbrllPJtID4FKZULAn8ps0V6fUFCTA8 uHKeOU9DROwP3q0VnSEpGTPu5xn880xkd3yWFbkU= 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.19 0948/1157] ASoC: SOF: mediatek: fix mt8195 StatvectorSel wrong setting Date: Mon, 15 Aug 2022 20:05:04 +0200 Message-Id: <20220815180517.485029372@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@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