[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190829173406.GA1127@kunai>
Date: Thu, 29 Aug 2019 19:34:06 +0200
From: Wolfram Sang <wsa@...-dreams.de>
To: Tamás Szűcs <tszucs@...tonmail.ch>
Cc: Geert Uytterhoeven <geert@...ux-m68k.org>,
Wolfram Sang <wsa+renesas@...g-engineering.com>,
Ulf Hansson <ulf.hansson@...aro.org>,
Linux MMC List <linux-mmc@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux-Renesas <linux-renesas-soc@...r.kernel.org>
Subject: Re: [PATCH] mmc: sdhi: fill in actual_clock
> It would be possible to call clk_get_rate() unconditionally but
> there's usually no need, thus the ternary. Are you in favor of that
> though?
I like Geert's suggestion. Even if it is "usually" not needed, I think
it is better to be always proper. This is not a hot code path.
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists