11 Jun
2018
11 Jun
'18
7:43 a.m.
Hi Katsuhiro
This patch moves headphone and microphone detection to probe() of snd_soc_card from init() of snd_soc_dai_link. This is because init() is called (and an input device /dev/input/eventX is created too) twice or above if simple card has two or more DAI links.
(snip)
It seems if simple card has multiple DAI links, it creates multiple input devices.
For example simple card has 3-links, 3 input devices /dev/input/event0, event1, event2 are created. Is it correct?
Oh, I see, fair enough. I'm sorry, it was my English skill error.
Best regards --- Kuninori Morimoto