[alsa-devel] [PATCH v1 5/9] ASoC: samsung: arndale: Simplify DAI link initialization
Charles Keepax
ckeepax at opensource.cirrus.com
Wed Sep 18 16:33:02 CEST 2019
On Wed, Sep 18, 2019 at 12:46:30PM +0200, Sylwester Nawrocki wrote:
> There is only one DAI link so we can drop an unnecessary loop statement.
> Use card->dai_link in place of direct static arndale_rt5631_dai[] array
> dereference as a prerequisite for adding support for other CODECs.
> Unnecessary assignment of dai_link->codecs->name to NULL is removed.
>
> Signed-off-by: Sylwester Nawrocki <s.nawrocki at samsung.com>
> ---
Reviewed-by: Charles Keepax <ckeepax at opensource.cirrus.com>
Thanks,
Charles
More information about the Alsa-devel
mailing list