[PATCH v2 0/3] Fix capture devices functionality on TM2

From: Jaechul Lee
Date: Tue Sep 05 2017 - 21:04:29 EST


Hello,

This patchset makes capture functionality working on TM2.

Capture devices can't be detected because I2S doesn't have appropriate dai
name. Therefore, TM2 will select unexpected cpu dai which is named
"i2s-samsung-sec" that doesn't have a capture functionality.

In samsung I2S driver, it tries to register two components without
specific name. The driver finally has components having same name: dai
name as well. As a result, dai_link doesn't have enough information to
select cpu_dai properly.

Changes in v2:
- defined SAMSUNG_I2S_DAI_* in i2s.h and removed duplicated code
- modified commit message about invalid parameter that Krzystof mentioned
- rebased code because of conflicts in i2s.c

Jaechul Lee (3):
ASoC: samsung: i2s: Use specific name for i2s dais
ASoC: samsung: Use 'samsung-i2s' cpu_dai for dai_links
ASoC: samsung: Fix invalid argument when devm_gpiod_get is called

sound/soc/samsung/i2s.c | 4 ++++
sound/soc/samsung/i2s.h | 3 +++
sound/soc/samsung/tm2_wm5110.c | 7 ++++---
3 files changed, 11 insertions(+), 3 deletions(-)

--
2.14.1