Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp62926ybx; Thu, 31 Oct 2019 16:00:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqwQpR3ilPScPcmql7QDq6QbtjVWQMv/0AMA2An1xhwGGIRdpo3WEIB3pfYgXwKUWpE0zaHs X-Received: by 2002:a17:906:f48:: with SMTP id h8mr6955587ejj.106.1572562808942; Thu, 31 Oct 2019 16:00:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572562808; cv=none; d=google.com; s=arc-20160816; b=oJHpNNimJQO80zvKLyRvbuetQUmufgLLuNeuzcjib4WqpSYRCgbb6PqJQlrsviGtl+ WxJ4JycLFXCDPwqqVjsjKeZ51ERkXUoSTEFl/HE0t5c6QGaEsMQVreZlxLfuLOVhNbFJ UdrSpk8LGOGxFDblnwl+V2CHuWGv5BxfQ+1yfSETyzFdVKcNKQQSz8psoZD0cZ4ltQa3 asdkbtYI1V2qRVOu6/yG4PM2M43cOGwCkldnQmIX9xlRdYmVrNsYK2KV3bAYjQyUuQiw BfKW6fPteqaybwz9IcRmPAgK6hydmZqBPaBn7ahleDnQd2bZu+oez7wvniE43dpbac56 ztlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=NUXHTGo7xdc28ruMV7yNEJaNPhCVI2u2zo7CxTGheno=; b=M49wVQtKiSjSVmkpcucLFP8OJFm36nBC5d+7aO5TwP4tZY3H6DD2cAVXZEMLqtNLo0 zynFP+zbPm3vg0ngFiHD4tdfe5FR8U1Sc2A8mhUQUXcDC/yZjhWOxs4epL8vIE2BYCfO BoJkzTHAt9/bXn7oND+P/zav6dAE2+xUGLxhWuMkM5/64ER1MNYToTRhAkSQnarL5qzM ISJRKvxH9bqXpzqr0H7z/Nx36oDynN6zaewe3ed+Rr41hQPxhbsYdTDYmDXHIAPo6GJn j/O9ULVbyeukN8iO75NG1Fhk9sB2a2+pMmQ1zRGznoGGqmq9RrYjVS/3t2Ksj+65s4VG lejg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fy18si4519525ejb.371.2019.10.31.15.59.46; Thu, 31 Oct 2019 16:00:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729275AbfJaWMQ (ORCPT + 99 others); Thu, 31 Oct 2019 18:12:16 -0400 Received: from sauhun.de ([88.99.104.3]:37458 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726602AbfJaWMQ (ORCPT ); Thu, 31 Oct 2019 18:12:16 -0400 Received: from localhost (unknown [77.130.135.221]) by pokefinder.org (Postfix) with ESMTPSA id 6726A2C009F; Thu, 31 Oct 2019 23:12:13 +0100 (CET) Date: Thu, 31 Oct 2019 23:12:11 +0100 From: Wolfram Sang To: Ulf Hansson Cc: Chuhong Yuan , Wolfram Sang , "linux-mmc@vger.kernel.org" , Linux Kernel Mailing List Subject: Re: [PATCH] mmc: renesas_sdhi: add checks for pinctrl_lookup_state Message-ID: <20191031221211.GA3853@kunai> References: <20191018131338.11713-1-hslester96@gmail.com> <20191023153313.GB5153@kunai> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="C7zPtVaVf+AK4Oqc" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable HI Ulf, > > Well, I don't like to bail out because this error is not fatal for basic > > operations. How about releasing priv->pinctrl again with an additional > > warning that pinctrl settings are broken and will prevent 1.8v modes? > > > > Opinions? >=20 > Hmm, from a mmc driver probe point of view, I don't quite share this appr= oach. >=20 > I would rather fail as it forces the DTB to be corrected immediately, > rather than trusting some developer to look at a warning in a log. The > point is, in such a case it may never get fixed, if the product is > shipped with the wrong DTB. I could agree to this arguement, iff the only way pinctrl_select fails is a DT misconfiguration. I am not sure if this is true right now, and we can't be sure about the future. Or? > My concern at this point is rather to break existing DTBs, but it > seems that should not be an issue, right? AFAIK not for the upstream ones, I don't know the customer ones. I still prefer to not bail out. Kind regards, Wolfram --C7zPtVaVf+AK4Oqc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl27XDcACgkQFA3kzBSg KbYYBRAAiikrBSwiMJ26xkXJxt4soVNJykMZrHS9niXYlb+cM9mznO9ah9yPKjFL Op6LtWP5EKJPU7Yz1FM+wjKKyLgC/nvLKw3gvbXXDI1GhZAa4yl0e9diIBzECp8g 5EMTYmB5i9u5Z1MBkNQB8/UuQ7JlVNtGuWI3YcbcG0reM6i20BaynpDthwVKa9vv 2h+5OWf8Ep76B5CEOmqF/TePJeTwR/Dzzzf9PxJOqu/v3MW8Pwc9WF7UwWSmxLel yBHr4bHOxYg4WEta99YirlXYadlxdv9cZ3+lcx+6kwaWd0kgv+xF5sxsxJFz2G/Y d8c1zYso/Js37VFI/E0lxCDnVBbZaiDDpSkkS2E+ZmBFZeHigFhRvRenkPKnjxCu S38I9e3M4pE//z7UirjR/uHv6VDopd1nEOmx4Md6eo0Yj5QhrlPOromAIVenpECO S2/L5NWy+sNZ4APAUeesKqRy0yQVqEEg3U01AC6PQpqfIHrjKXXHObsTwtt24ct3 Vy51uTTB0BWZGY3cO+YuHJiJTCS5aC1k63FA7XCINArVhZh3ZTqGQZH3MoGy9dvj L168HXbOVK5HkDh/xZx9b1S0dkdPvciYYHiJ3GU2b63ICOczGPsF0vIwJdbgzN7i 66m5ckYQdR1zDZVQAdWSoAMGAUYScPDMm3sU6/MTTu7I9D2H4ks= =XBqM -----END PGP SIGNATURE----- --C7zPtVaVf+AK4Oqc--