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

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Fri Jun 9 01:39:30 CEST 2017


Hi Mark

> > +#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.

OK, will do in v2

Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list