[PATCH v2 1/2] ASoC: fsl_mqs: Don't check clock is NULL before calling clk API

Markus Elfring Markus.Elfring at web.de
Tue Jun 23 17:36:24 AEST 2020


> In-Reply-To: <cover.1592888591.git.shengjiu.wang at nxp.com>

I guess that it should be sufficient to specify such a field once
for the header information.


> Because clk_prepare_enable and clk_disable_unprepare should
> check input clock parameter is NULL or not internally,

I find this change description unclear.


> then we don't need to check them before calling the function.

Please use an imperative wording for the commit message.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?id=dd0d718152e4c65b173070d48ea9dfc06894c3e5#n151

Regards,
Markus


More information about the Linuxppc-dev mailing list