• Mengdong Lin's avatar
    ASoC: Vendor drivers get a link's runtime by snd_soc_get_pcm_runtime() · 5015920a
    Mengdong Lin authored
    Vendor drivers no longer access a DAI link's runtime by the link index
    but by matching the link name via snd_soc_get_pcm_runtime(). We assume
    each DAI link has a unique name.
    
    This is preparation for changing runtimes from an array to a list later.
    
    Vendor drivers changed:
    sound/soc/fsl/fsl-asoc-card.c
    sound/soc/fsl/imx-wm8962.c
    sound/soc/pxa/mioa701_wm9713.c
    sound/soc/samsung/bells.c
    sound/soc/samsung/littlemill.c
    sound/soc/samsung/odroidx2_max98090.c
    sound/soc/samsung/snow.c
    sound/soc/samsung/speyside.c
    sound/soc/samsung/tobermory.c
    sound/soc/tegra/tegra_wm8903
    Signed-off-by: default avatarMengdong Lin <mengdong.lin@linux.intel.com>
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    5015920a
odroidx2_max98090.c 4.78 KB