[alsa-devel] [PATCH 1/5] ASoC: simple_card_utils: add asoc_simple_card_clk_enable/disable()

Mark Brown broonie at kernel.org
Thu Jun 8 16:50:08 CEST 2017


On Wed, Jun 07, 2017 at 12:29:05AM +0000, Kuninori Morimoto wrote:

> +#define asoc_simple_card_clk_enable(dai) clk_prepare_enable((dai)->clk)
> +#define asoc_simple_card_clk_disable(dai) clk_disable_unprepare((dai)->clk)

Could we make these static inline functions instead please?  It
shouldn't make any difference to the generated code but it's a bit more
type safe.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20170608/d8a50ae8/attachment.sig>


More information about the Alsa-devel mailing list