summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl-asoc-card.c
diff options
context:
space:
mode:
authorZhiwei Jiang <qq282012236@gmail.com>2019-01-31 19:30:05 +0800
committerMark Brown <broonie@kernel.org>2019-02-02 17:15:27 +0100
commit411db2ab7df35804422e4b26c5849b3868e6a038 (patch)
tree20cbafaf134087df26305e6dd3b6d930ed9ab75d /sound/soc/fsl/fsl-asoc-card.c
parent078a85f2806f0ffd11289009462a6a390f9adb5c (diff)
ASoC: dapm: Add warnings for widget overwrite when adding route
Currently, in some complex cases, more than one widgets have same name and registed from differnt dapm context, and route add from another context too. When snd_soc_dapm_add_route, the previous registered widget will overwritten by the latest same name widget, will cause unexpect error. For Asoc framework we cant avoid this situation and we cant decide which widget that wanted with route. At least we can give users a notice. Signed-off-by: Zhiwei Jiang <qq282012236@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/fsl/fsl-asoc-card.c')
0 files changed, 0 insertions, 0 deletions