Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp528881rwl; Fri, 4 Nov 2022 03:24:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6XHXfGey+a9YveMwK6wBN3VNb3hiWHeTArgLCCaExiJGPheM9QMFeR6V7es6ocYJA3RDLb X-Received: by 2002:a17:907:3e96:b0:7ad:e35a:be36 with SMTP id hs22-20020a1709073e9600b007ade35abe36mr22422497ejc.678.1667557483262; Fri, 04 Nov 2022 03:24:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667557483; cv=none; d=google.com; s=arc-20160816; b=d3Chm6sJP4G3C9mn0L6CC6NAR6X9K/OZor1syspmarLMbf6isoaFYyv9BIexPR60qr OVRzfPGnpVwZTmqNo7NB8nXwpRRE9ccoWQucnRATNZtAuR1XoGm8psFRgnwOlgPyb+ju jZxb4VCZHj2PJr2rhUKC3CXyWqThgCxDArjmrlZQYRR8CMz8s+LzIfTix7sGHAI9f6en m5hi5NoMRxO4keUlMLmpcpKychVhGBCcCbn4M2FnWiV/hdLLcS0oaRd4N71ZgdK6Vwk6 h83RG6sFuHr+8DfGCQ5py9HV4LX6RJrmUWRUxxwrn1KrMlTUwyw8F3K53G4ZIz7UOevw gp8Q== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=0pR3TOrHMf9AHUYqBblJTRAag2PL/OTVWGjwi52/bj4=; b=EPEDl9Zo20oY/2yO48LnsEbq/BFpK2gztmZPYF4oBKMmHH3f00wOcv0+vTf+uLiJlz FECHEaBgAE5GhQln0aItStLWyC5UlFLfTb2vhRA3I/tDV3scEG9pwvkAKdKqr5AnNzYu ds9hGkkEFIalQG0g+efMfBRZeRWauCZ9wqlg5tgBcFxENvZBGXcku2XoqsvwqAm+eCjT gmB/Gp8Q2gniR7MPKEpLWz2V0UTI4/d9GJVUf8KBvwb4CTycvBinpU9Vz5/YVWpLpPRC 3e5dTvW1HbbILQdDkW0twnnyte89m5kLFh4HFeISvQ8uYRH2mGWylwlW7QSTo/d/yDmE Lvrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=hUxE2vhD; 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=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hq21-20020a1709073f1500b0077e6bb482adsi4629839ejc.658.2022.11.04.03.24.19; Fri, 04 Nov 2022 03:24:43 -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=@cirrus.com header.s=PODMain02222019 header.b=hUxE2vhD; 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=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229861AbiKDKG7 (ORCPT + 96 others); Fri, 4 Nov 2022 06:06:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230456AbiKDKG5 (ORCPT ); Fri, 4 Nov 2022 06:06:57 -0400 Received: from mx0b-001ae601.pphosted.com (mx0a-001ae601.pphosted.com [67.231.149.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E20B63C0 for ; Fri, 4 Nov 2022 03:06:55 -0700 (PDT) Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2A49TAQM012440; Fri, 4 Nov 2022 05:06:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=PODMain02222019; bh=0pR3TOrHMf9AHUYqBblJTRAag2PL/OTVWGjwi52/bj4=; b=hUxE2vhD19xFJ1uLc3wc3uzsm51JVbUMxArrs1m68Vtv+67h+hktqAUP7nj5bBMMLzXp pN9vbhg18Twred/ilxxns1KptnLg8l4UMIt58w2agRgusmBACxEp0v4FQ2t+4Ec5LtEY mN7maTbd4nJnYiOqXHWTNB+3i797oV8VBIgp7CibObllaCT99025OO6eFsyDkxUOmsb6 PTOVT0MlPbyDVpUV5MAXQFUmiQgL2XKPgdrLZcLO2oqz1Qehnm1Q0lZ8n7iR38UGZz/N f6pSjC0W3CSMaWlTYE9QnmdB62msus1RtAg7zisOKsR4YBqCKwsT1MxhJpMifOxiyrOw 2g== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0a-001ae601.pphosted.com (PPS) with ESMTPS id 3kmph3gmea-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 04 Nov 2022 05:06:39 -0500 Received: from ediex01.ad.cirrus.com (198.61.84.80) by ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.15; Fri, 4 Nov 2022 05:06:37 -0500 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by ediex01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.2.1118.15 via Frontend Transport; Fri, 4 Nov 2022 05:06:37 -0500 Received: from vitaly-Legion-7-16ACHg6.ad.cirrus.com (unknown [198.90.238.212]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 86B862AA; Fri, 4 Nov 2022 10:06:37 +0000 (UTC) From: Vitaly Rodionov To: Sanjay R Mehta , Mark Brown , Takashi Iwai CC: , , Subject: [PATCH] spi: amd: Fix SPI_SPD7 value Date: Fri, 4 Nov 2022 10:06:37 +0000 Message-ID: <20221104100637.13376-1-vitalyr@opensource.cirrus.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: BWIpw-d5CSFly8m_iAhM2k8SG_jgY4NS X-Proofpoint-GUID: BWIpw-d5CSFly8m_iAhM2k8SG_jgY4NS X-Proofpoint-Spam-Reason: safe X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS 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 According to data sheet SPI_SPD7 should be set to 7. Signed-off-by: Vitaly Rodionov --- drivers/spi/spi-amd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-amd.c b/drivers/spi/spi-amd.c index e23121456c70..bfc3ab5f39ea 100644 --- a/drivers/spi/spi-amd.c +++ b/drivers/spi/spi-amd.c @@ -65,7 +65,7 @@ enum amd_spi_speed { F_16_66MHz, F_100MHz, F_800KHz, - SPI_SPD7, + SPI_SPD7 = 0x7, F_50MHz = 0x4, F_4MHz = 0x32, F_3_17MHz = 0x3F -- 2.34.1