On Wed, Sep 06, 2017 at 10:04:13AM +0900, Jaechul Lee wrote: > Add specific dais name when components are registered. Component and dai > name will follow their parent dev name, if the name isn't described. In > case of this driver, each dais will have same name like '11440000.i2s0' by > fmt_single_name function. > > The problem having same name is that TM2 machine driver can't detect > capture devices correctly. Machine driver doesn't know which one is proper > to use for cpu dai. The driver just selects to use 'samsung-i2c-sec' that > doesn't have capture functionality because the component of > samsung-i2s-sec is located in the first of the component_list. > > I add dai name like 'samsung-i2s', 'samsung-i2s-sec' for each dais. The > reason why adding dai id to 1 is that it doesn't allow to use particular > dai name in case of when I use 0 for dai id. > > Signed-off-by: Jaechul Lee <jcsing.lee@xxxxxxxxxxx> > --- > sound/soc/samsung/i2s.c | 4 ++++ > sound/soc/samsung/i2s.h | 3 +++ > 2 files changed, 7 insertions(+) > Reviewed-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx> Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html