[alsa-devel] [PATCH v2 2/3] ASoC: samsung: Use 'samsung-i2s' cpu_dai for dai_links

Krzysztof Kozlowski krzk at kernel.org
Fri Sep 8 18:45:12 CEST 2017


On Wed, Sep 06, 2017 at 10:04:14AM +0900, Jaechul Lee wrote:
> Add specific cpu_dai_name to dai_link because samsung i2s driver registers
> two dais and components. Selecting one of them clearly is needed more
> information like cpu_dai_name, of_node. The reason why the dai_links have
> to use 'samsung-i2s' for cpu_dai is that 'samsung-i2s-sec' doesn't have a
> capture functionality.
> 
> Without this code, cpu_dai will be selected the first one of the
> component_list. For example, if I describe nothing to cpu_dai_name,
> 'samsung-i2s-sec' might be selected to HiFi Primay.
> 
> Signed-off-by: Jaechul Lee <jcsing.lee at samsung.com>
> ---
>  sound/soc/samsung/tm2_wm5110.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 

Reviewed-by: Krzysztof Kozlowski <krzk at kernel.org>

Best regards,
Krzysztof



More information about the Alsa-devel mailing list