snd_soc_dapm_add_routes9
Add routes between dapm widgets
Arguments
dapm
DAPM context
route
audio routes
num
number of routes
Overview
Connects 2 dapm widgets together via a named audio path. The sink is the widget receiving the audio signal, whilst the source is the sender of the audio signal.
Returns 0 for success else error. On error all resources can be freed with a call to snd_soc_card_free.