Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp3356410pxb; Tue, 19 Apr 2022 00:04:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuM6MrgqslJBtlPMsHhZjyy98hr1hhS792M+PitSmgR3gnoAz/pj2ulxTGvIjaPqI8fw7R X-Received: by 2002:a63:b542:0:b0:399:40fd:3ac3 with SMTP id u2-20020a63b542000000b0039940fd3ac3mr13202998pgo.564.1650351882761; Tue, 19 Apr 2022 00:04:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650351882; cv=none; d=google.com; s=arc-20160816; b=sBMeya6enMxPM1VeuBm5kbzCNpZmgHW58IB6xEuqM8rMQsKHu3OYrD9aWzgK7TfO8K 6qSRRlyGFPiJtaqUcvb46xSAuyEss35FxFHiZ4aYwCL2gyBN31GBSE4HoR9YNKInW/y9 4dk+9+tBYmH47F3TVaqvIQwBw63mMgf+03sFCoWgY1alig7iB8xuWJyBxbmNpDwRzQ7L kxFHAnD95gl9AcW1q30NXyWYnE1/yhfSQ8UZykpTLvzhHX86S45jJfPe3xM8Ka3WmEqc ucWHTrrrUbSaa0otseD0RN/my8Hk/niJFL9+KWe/kIxclE+ObKJlPAlkgRuySYjGcK/T yx9g== 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=69jha0fJi8Uvm/P0sDiKVevG0XZl8lrpY75vY7T+8bQ=; b=KH5w+4nnD4tBqiV9HOL7plEjBBp/STPq5nfMLEYQ2FhCha4/NaPpxy/9ucNNXNAUcd U4AShreFq8sYICU7uPbQ0OMJfWQRZj279IR7bhptwVszYqDgwvMS18j+4JbHcFl2opir LUlCV9Oi5/nU1vLp/uOqt6s/t5X5OruTVRjuny8055ImM3EAOgUe2LYpB9Gw/+mvv2rX iYmvvyyIrFaRPOGgkrzop+iOb4FaRT/dsX9FLMaN0Sn8PE3XwX0LJJblnTosp4euWcCt 6Pml96uLp4F5gilE08cBEdOl3itgLHclqDBasAsmXSaVBbJb95PPo42rgb5MC62xLBOh WLTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=1x3MXUXh; 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 d123-20020a636881000000b0039cd7c5f00fsi10352892pgc.797.2022.04.19.00.04.26; Tue, 19 Apr 2022 00:04:42 -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=1x3MXUXh; 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 S245369AbiDROCn (ORCPT + 99 others); Mon, 18 Apr 2022 10:02:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244217AbiDRNne (ORCPT ); Mon, 18 Apr 2022 09:43:34 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4BA7F65DE; Mon, 18 Apr 2022 05:59:49 -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 D9954B80E44; Mon, 18 Apr 2022 12:59:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 053AEC385A8; Mon, 18 Apr 2022 12:59:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1650286786; bh=/wJG+XTvgjQdx9zNB5ugg1IgvdbNmvOV11yo0RTX+Vw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1x3MXUXhXLydMVbzrbR0PRPbhZTvuUVg8QvG2km+ywOJd9NeLdlWPgDPHABtfMwwp zsGrAMOpU2O15JPF2u2w6JIC/HZklrtVnWKCgRCUDDamI2I5IURk9Gr5vKdkCntz+0 8fPvL7Jk1iPZBRa9GGKDnLC7JpK5Ag1dPZhtNkQ0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Pali=20Roh=C3=A1r?= , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Marcin Wojtas , Ulf Hansson Subject: [PATCH 4.14 244/284] Revert "mmc: sdhci-xenon: fix annoying 1.8V regulator warning" Date: Mon, 18 Apr 2022 14:13:45 +0200 Message-Id: <20220418121219.022212251@linuxfoundation.org> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20220418121210.689577360@linuxfoundation.org> References: <20220418121210.689577360@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=-7.7 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: Pali Rohár commit 7e2646ed47542123168d43916b84b954532e5386 upstream. This reverts commit bb32e1987bc55ce1db400faf47d85891da3c9b9f. Commit 1a3ed0dc3594 ("mmc: sdhci-xenon: fix 1.8v regulator stabilization") contains proper fix for the issue described in commit bb32e1987bc5 ("mmc: sdhci-xenon: fix annoying 1.8V regulator warning"). Fixes: 8d876bf472db ("mmc: sdhci-xenon: wait 5ms after set 1.8V signal enable") Cc: stable@vger.kernel.org # 1a3ed0dc3594 ("mmc: sdhci-xenon: fix 1.8v regulator stabilization") Signed-off-by: Pali Rohár Reviewed-by: Marek Behún Reviewed-by: Marcin Wojtas Link: https://lore.kernel.org/r/20220318141441.32329-1-pali@kernel.org Signed-off-by: Ulf Hansson Signed-off-by: Greg Kroah-Hartman --- drivers/mmc/host/sdhci-xenon.c | 10 ---------- 1 file changed, 10 deletions(-) --- a/drivers/mmc/host/sdhci-xenon.c +++ b/drivers/mmc/host/sdhci-xenon.c @@ -243,16 +243,6 @@ static void xenon_voltage_switch(struct { /* Wait for 5ms after set 1.8V signal enable bit */ usleep_range(5000, 5500); - - /* - * For some reason the controller's Host Control2 register reports - * the bit representing 1.8V signaling as 0 when read after it was - * written as 1. Subsequent read reports 1. - * - * Since this may cause some issues, do an empty read of the Host - * Control2 register here to circumvent this. - */ - sdhci_readw(host, SDHCI_HOST_CONTROL2); } static const struct sdhci_ops sdhci_xenon_ops = {