Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp6743835rwi; Mon, 24 Oct 2022 05:41:03 -0700 (PDT) X-Google-Smtp-Source: AMsMyM65pYr2VNXNzXOrzWc9o3etJeFkQnHlK5lWOkogeT6c0psxW6kXvX0Pz20XYCb63nNm06YD X-Received: by 2002:a17:907:3e03:b0:722:e694:438 with SMTP id hp3-20020a1709073e0300b00722e6940438mr28154380ejc.755.1666615263234; Mon, 24 Oct 2022 05:41:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666615263; cv=none; d=google.com; s=arc-20160816; b=onuu/am/JpUdEH/zE5+olb9ZN0MWo0/DxRiE6khYsNPTdsBYd4Ms+wSHMoLRLl3mbK MrgV/er/SmSRjMjz60/LHHaz5TkzXOLI++MT6lviMwYuMr4p/WIsknLmS3Bgh8prhHb5 sx3liah4rlEv4ocEifPf8D/LTjUfWMy4hrZPrBBnsX6A6b9vARHzjJmKE8NIN1PTVbEZ deXBAm+LpbKLORdC2dxTfyXUYQbItMmr+spMCuvEBxYCQA/O8jjAHid6Xfv+cyQ/GI3S Fkt6dt+WlZrc9K1OpOrQOArieJhaHC+szJOhr6YIVQakNFz+MCo97OW6tCb90PC+FfVP 4XqQ== 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=xs5oOZew1vcpTbLCO9iFwo/FqhmybszJcAkAqA6gXIk=; b=sCmBwvAbGtjoxcZ1bgAwB7Mf2fhvk5NcewmTnn06JsJ4QrskpvVfgRUjmQLFatMCUJ HqSvfmx0gNDaVLnVc8H2fSOLbP/MHjVXeN68E5KsOdEOSnAi+kRqDqg+WM8SunbdblyR 9EIA+g0iJMs7uBnRUF0MeF9kXWgNJRR0jrOX2FBqRqCq2qE1fTvkbgVlp62nypH2TAKZ npMGpgnVeMKYnpPXKuJtzmUs57XhEgm9My0J8KopN/uqGl4pOSz1ODXpTlWSjLlWMaku /YvvT4rDsNvYBs+0hUdAbXD2FkCdKGhpjOOf6ZHpHO+iK0Ij6VgZYUoY1DWKSiGqZR2O KV8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=v+0AVUKX; 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 l1-20020aa7c301000000b004612915d1a0si9624605edq.507.2022.10.24.05.40.29; Mon, 24 Oct 2022 05:41:03 -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=v+0AVUKX; 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 S230208AbiJXL6N (ORCPT + 99 others); Mon, 24 Oct 2022 07:58:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232111AbiJXL4q (ORCPT ); Mon, 24 Oct 2022 07:56:46 -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 B89D17A50C; Mon, 24 Oct 2022 04:47:01 -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 2C682B8117E; Mon, 24 Oct 2022 11:47:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82563C433D6; Mon, 24 Oct 2022 11:46:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666612019; bh=TkptbBExfBRLdyiwMro7nVDIibC8wLql2SnkRMFzZd0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=v+0AVUKXTSAKZG8g/VA9MCwQTS03py3EGuPd5LZD2PM5RGJZEGJMqaWIHvx8EXuNu BK9haJqvM1MRpG8oOhoVDzYtCEar4xIFoR/VjNXsi3xbrh0DuRotVmA0iCCwOoLxS1 TAnj2b4Uo00DHqflL6Pv3vMK2G7laYrMheN4/r/g= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, ChanWoo Lee , Linus Walleij , Ulf Hansson , Brian Norris Subject: [PATCH 4.14 032/210] mmc: core: Replace with already defined values for readability Date: Mon, 24 Oct 2022 13:29:09 +0200 Message-Id: <20221024112958.007222166@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024112956.797777597@linuxfoundation.org> References: <20221024112956.797777597@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.6 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 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: ChanWoo Lee commit e427266460826bea21b70f9b2bb29decfb2c2620 upstream. SD_ROCR_S18A is already defined and is used to check the rocr value, so let's replace with already defined values for readability. Signed-off-by: ChanWoo Lee Reviewed-by: Linus Walleij Link: https://lore.kernel.org/r/20220706004840.24812-1-cw9316.lee@samsung.com Signed-off-by: Ulf Hansson Signed-off-by: Brian Norris Signed-off-by: Greg Kroah-Hartman --- drivers/mmc/core/sd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/mmc/core/sd.c +++ b/drivers/mmc/core/sd.c @@ -793,7 +793,7 @@ try_again: * the CCS bit is set as well. We deliberately deviate from the spec in * regards to this, which allows UHS-I to be supported for SDSC cards. */ - if (!mmc_host_is_spi(host) && rocr && (*rocr & 0x01000000)) { + if (!mmc_host_is_spi(host) && rocr && (*rocr & SD_ROCR_S18A)) { err = mmc_set_uhs_voltage(host, pocr); if (err == -EAGAIN) { retries--;