From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
To: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com>
Cc: Mark Brown <broonie@kernel.org>, <alsa-devel@alsa-project.org>,
Masami Hiramatsu <masami.hiramatsu@linaro.org>,
Jassi Brar <jaswinder.singh@linaro.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2 2/3] ASoC: simple-card: move hp and mic detection to soc_card probe
Date: Mon, 11 Jun 2018 05:43:14 +0000 [thread overview]
Message-ID: <87sh5t6fwv.wl-kuninori.morimoto.gx@renesas.com> (raw)
In-Reply-To: <007401d40146$9ddaaec0$d9900c40$@socionext.com>
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
WARNING: multiple messages have this Message-ID (diff)
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
To: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com>
Cc: alsa-devel@alsa-project.org,
Masami Hiramatsu <masami.hiramatsu@linaro.org>,
linux-kernel@vger.kernel.org,
Jassi Brar <jaswinder.singh@linaro.org>,
Mark Brown <broonie@kernel.org>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2 2/3] ASoC: simple-card: move hp and mic detection to soc_card probe
Date: Mon, 11 Jun 2018 05:43:14 +0000 [thread overview]
Message-ID: <87sh5t6fwv.wl-kuninori.morimoto.gx@renesas.com> (raw)
In-Reply-To: <007401d40146$9ddaaec0$d9900c40$@socionext.com>
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
WARNING: multiple messages have this Message-ID (diff)
From: kuninori.morimoto.gx@renesas.com (Kuninori Morimoto)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 2/3] ASoC: simple-card: move hp and mic detection to soc_card probe
Date: Mon, 11 Jun 2018 05:43:14 +0000 [thread overview]
Message-ID: <87sh5t6fwv.wl-kuninori.morimoto.gx@renesas.com> (raw)
In-Reply-To: <007401d40146$9ddaaec0$d9900c40$@socionext.com>
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
next prev parent reply other threads:[~2018-06-11 5:43 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-11 5:15 [PATCH v2 1/3] ASoC: simple-card-utils: move hp and mic detect gpios from simple-card Katsuhiro Suzuki
2018-06-11 5:15 ` Katsuhiro Suzuki
2018-06-11 5:15 ` [PATCH v2 2/3] ASoC: simple-card: move hp and mic detection to soc_card probe Katsuhiro Suzuki
2018-06-11 5:15 ` Katsuhiro Suzuki
2018-06-11 5:27 ` Kuninori Morimoto
2018-06-11 5:27 ` Kuninori Morimoto
2018-06-11 5:27 ` Kuninori Morimoto
2018-06-11 5:39 ` Katsuhiro Suzuki
2018-06-11 5:39 ` Katsuhiro Suzuki
2018-06-11 5:39 ` Katsuhiro Suzuki
2018-06-11 5:43 ` Kuninori Morimoto [this message]
2018-06-11 5:43 ` Kuninori Morimoto
2018-06-11 5:43 ` Kuninori Morimoto
2018-06-11 5:15 ` [PATCH v2 3/3] ASoC: audio-graph-card: add hp and mic detect gpios same as simple-card Katsuhiro Suzuki
2018-06-11 5:15 ` Katsuhiro Suzuki
2018-06-18 12:00 ` Applied "ASoC: audio-graph-card: add hp and mic detect gpios same as simple-card" to the asoc tree Mark Brown
2018-06-18 12:00 ` Mark Brown
2018-06-18 12:00 ` Mark Brown
2018-06-18 12:00 ` Applied "ASoC: simple-card-utils: move hp and mic detect gpios from " Mark Brown
2018-06-18 12:00 ` Mark Brown
2018-06-18 12:00 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sh5t6fwv.wl-kuninori.morimoto.gx@renesas.com \
--to=kuninori.morimoto.gx@renesas.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=jaswinder.singh@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=masami.hiramatsu@linaro.org \
--cc=suzuki.katsuhiro@socionext.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.