From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfram Sang Subject: Re: [PATCH] ARM: dts: r7s72100: fix sdhi clock define Date: Tue, 17 Jan 2017 09:21:19 +0100 Message-ID: <20170117082118.GA1487@katana> References: <20170112181149.29035-1-chris.brandt@renesas.com> <20170116114023.GA3029@katana> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/9DWx/yDrRhgMJTb" Return-path: Content-Disposition: inline In-Reply-To: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Chris Brandt Cc: Geert Uytterhoeven , Simon Horman , Magnus Damm , Rob Herring , Mark Rutland , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Linux-Renesas , Wolfram Sang List-Id: devicetree@vger.kernel.org --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > The reason is that would then keep me from having to modify the existing > functions sh_mobile_sdhi_clk_enable/disable. Why do you prefer this? I may be missing something but a small if-block per function are not expensive IMO. > Is anyone going to have an issue if I turn the card-detect clock on but never > turn it off???? That was the patch that I was going to test out and submit. It smells a bit hacky to me. And while hacky things are sometimes needed, IMO this doesn't hold true here. With just 3 more lines (an if-block in disable and a variable for the new clock) we can have it proper. --/9DWx/yDrRhgMJTb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJYfdP+AAoJEBQN5MwUoCm2ywUP/AtXzaepUp4pK3jCDKgsHGYc i+RVkHuUAMhUcOyDVGPEELWI5cSOd09bXIiJqPT/E+rj7aTmTyLEyfdZ7lPwh5Bf jcNmnfmRiatg4cACM1OgcXsRZMcdyIi0JyaksNjrE6LQXYWPFfjeXwVsqUAULaxg YES6HATRNHGrczY46QnnN6+vlT+59zF40J7xYwQS//pF6I6tBIgkSnFn6st4LGGK CvY0rNX/08VRLkvhqsXAOelzmloq6HE/ynWiTeSwvOnPm0Id/z2OG9R3dIjyD98/ tU5s0ffFFDe4Co0UT18Rks7sUWfpFom7cLSppFBL9QRlmhgQOjQC6V6Hlr2rIj0k oYH3yP7yrvlkwJS4ovG3+CbNEQ5b4IjrWMNXYtMmWBmQ+Va4bh5EeaQOyhU8WQch V/gWXMk7MulpV0aTnml6AncIkDIvcmsKIU3C+b1L6gF7vMk7A3rxDpyH8vKBYd/g 97wWIn6XVWYWod9NmfOW7B6uyd8qq4SMVe2tF2sKgcpz2ZdHQhXa9+ZB5BEkQZ5S pFalL1J53f7aW59eQ3DqlWdlL53D0XX8+3rN8Gr58KGCtocw5hGV4pQhreOCYndk ypFbN+VHw4/bvvC2RnHBCUj4FBm0QN3PRLVt9DyWOthau14Hiyfb+ePgG+J1ANBo AWHuqFckOdoc+deXR487 =7qzi -----END PGP SIGNATURE----- --/9DWx/yDrRhgMJTb-- -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html