Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp774107pxb; Tue, 5 Apr 2022 22:46:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLQaZHIBr34NzeuATpizdQrezkcP5DIxKbhTKgbq5g8yMvUb/d/ycL3cWA+t+UPHJm3ur7 X-Received: by 2002:a63:b20e:0:b0:398:5b28:e54a with SMTP id x14-20020a63b20e000000b003985b28e54amr5755882pge.443.1649223964292; Tue, 05 Apr 2022 22:46:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649223964; cv=none; d=google.com; s=arc-20160816; b=aCBafZHgpJg7Wa2g42dmz2RIo9phvomACTDMqErpFS9O8wmYF/WelLodgtlVQjRPsH d0cSXvLN9SkA3MiCVLjP+8ldmvKb9yjiU+EllOoQsuDOiZItOMKqj47TaZ7kU5ZqIRbR w2Nz6ELYqtt4gSOWwW67cr7bvPaCECi38zSU6dYtVo1w356hYZobhoJuI20Qcmfb6zok GOvgR91RnQnmSsu6n1YUUMvYm5IcjTfMZUqzy9EV4xjiCpAowtr9gcX9oKftlmIgp+oQ ZCilmlkwe7MioSydjMM78iz6qmc2XPGNgQ+i7R+8lXKbYcX1WOeBiYj4bSNqm1L+nXgW XgzQ== 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=9olyzPAwJaD8JXtvxO75/53edro+UJPAGDi1lNpYSvE=; b=NIc0uVjF+F+/fX+4LCls+XKrn5oXGHGzYmZKgDJNyQG1LGBcCYsb8gTehQgX4qEQzM eT5agMdc314mDM2unZeFzVrunJIz/07KgxxrAP7REKdjCrPWbEHHdPJ7w3KZ60ZMGTA+ cwX34wP46VTajbf73WYUhJ5u3CzJYaNRj5ARojUs1GgAZ4EsdqRDZ1TUxIdM9ASIii8h byELmE6UC/baBq5lr+fWpisD7K6xue3k/OquJaaqKT18RtOKECHUyawMr1kOe8EKTvUo pXrbB0oNaQMW2jz1bDis7QMZvZfZJ9+5fvgI9Y+PpB/Rhj0itKc4y/y/d4op1ZAegSKZ 1DTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=icC7z32n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id h7-20020a170902ac8700b00156a7f60b5bsi7352705plr.379.2022.04.05.22.46.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 22:46:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=icC7z32n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 26DCA4837BC; Tue, 5 Apr 2022 22:10:39 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1575231AbiDEXDY (ORCPT + 99 others); Tue, 5 Apr 2022 19:03:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349415AbiDEJtt (ORCPT ); Tue, 5 Apr 2022 05:49:49 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88D631C920; Tue, 5 Apr 2022 02:45:14 -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 ams.source.kernel.org (Postfix) with ESMTPS id 4790DB817D3; Tue, 5 Apr 2022 09:45:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 942C4C385A4; Tue, 5 Apr 2022 09:45:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649151912; bh=07VNWO8H9YlwU0pqnXEKrNMaQkGMU5st7eEL9fMQ2pM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=icC7z32n4BrQfpi11GhCW8qAl8W7maThS6N/XqW1X9JDJgt7QSkMAMXssg8MpHr+j FdyhnALdUwW4sPzX0ovLXGy6I+/u/EhjtIOgv6VWZwQTKQjDLAOqA/9h/mUxv/vg/+ 1F/XPXCyhLaxMOUTMORl5q+N8wuAWX5mUeseVuOo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Libin Yang , Pierre-Louis Bossart , Rander Wang , Bard Liao , Vinod Koul , Sasha Levin Subject: [PATCH 5.15 587/913] soundwire: intel: fix wrong register name in intel_shim_wake Date: Tue, 5 Apr 2022 09:27:29 +0200 Message-Id: <20220405070357.439541450@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070339.801210740@linuxfoundation.org> References: <20220405070339.801210740@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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: Libin Yang [ Upstream commit 3957db3ae3dae6f8b8168791f154567fe49e1fd7 ] When clearing the sdw wakests status, we should use SDW_SHIM_WAKESTS. Fixes: 4a17c441c7cb ("soundwire: intel: revisit SHIM programming sequences.") Signed-off-by: Libin Yang Reviewed-by: Pierre-Louis Bossart Reviewed-by: Rander Wang Signed-off-by: Bard Liao Link: https://lore.kernel.org/r/20220126011451.27853-1-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul Signed-off-by: Sasha Levin --- drivers/soundwire/intel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/soundwire/intel.c b/drivers/soundwire/intel.c index 78037ffdb09b..f72d36654ac2 100644 --- a/drivers/soundwire/intel.c +++ b/drivers/soundwire/intel.c @@ -448,8 +448,8 @@ static void intel_shim_wake(struct sdw_intel *sdw, bool wake_enable) /* Clear wake status */ wake_sts = intel_readw(shim, SDW_SHIM_WAKESTS); - wake_sts |= (SDW_SHIM_WAKEEN_ENABLE << link_id); - intel_writew(shim, SDW_SHIM_WAKESTS_STATUS, wake_sts); + wake_sts |= (SDW_SHIM_WAKESTS_STATUS << link_id); + intel_writew(shim, SDW_SHIM_WAKESTS, wake_sts); } mutex_unlock(sdw->link_res->shim_lock); } -- 2.34.1