Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1473146
| From | Chen-Yu Tsai <wens@csie.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [linux-sunxi] Re: [PATCH v9 2/2] Add mixer controls: Line-In, FM-In, Mic 2, Capture Source, Differential Line-In. |
| Date | 2016-08-31 10:00 +0200 |
| Message-ID | <sc8Bb-80v-15@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <sbK5P-Fr-1@gated-at.bofh.it> <sc7c5-7gk-7@gated-at.bofh.it> <sc8rw-7Xa-17@gated-at.bofh.it> <sc8rw-7Xa-15@gated-at.bofh.it> <sc8Bb-80v-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Aug 31, 2016 at 3:49 PM, Danny Milosavljevic <dannym@scratchpost.org> wrote: > Hi Chen-Yu, > >> My apologies. I didn't notice that VMIC was already in the driver. >> In that your original patch did everything right. > > Don't worry about it :) > > But I have a question: > > If I replace DAPM_INPUT by DAPM_MIC it wants a callback that is supposed to > fiddle with the bias. > Do I provide one? > If so, will it conflict with the supply? > > Or do I leave it as DAPM_INPUT ? I think leaving it as DAPM_INPUT will do. Also, if you use DAPM_MIC or any other widget type that takes a callback, the callback can be NULL. I took a quick look at other drivers. The codecs only use non-endpoint types, like INPUT/OUTPUT. It's up to the card to provide endpoints (HP/SPEAKER/LINE/MIC) and route them to the codec INPUT/OUTPUTs. Regards ChenYu
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v9 2/2] Add mixer controls: Line-In, FM-In, Mic 2, Capture Source, Differential Line-In. Danny Milosavljevic <dannym@scratchpost.org> - 2016-08-30 07:50 +0200
Re: [PATCH v9 2/2] Add mixer controls: Line-In, FM-In, Mic 2, Capture Source, Differential Line-In. Chen-Yu Tsai <wens@csie.org> - 2016-08-31 08:30 +0200
Re: [PATCH v9 2/2] Add mixer controls: Line-In, FM-In, Mic 2, Capture Source, Differential Line-In. Danny Milosavljevic <dannym@scratchpost.org> - 2016-08-31 09:20 +0200
Re: [PATCH v9 2/2] Add mixer controls: Line-In, FM-In, Mic 2, Capture Source, Differential Line-In. Chen-Yu Tsai <wens@csie.org> - 2016-08-31 09:50 +0200
Re: [linux-sunxi] Re: [PATCH v9 2/2] Add mixer controls: Line-In, FM-In, Mic 2, Capture Source, Differential Line-In. Chen-Yu Tsai <wens@csie.org> - 2016-08-31 09:50 +0200
Re: [linux-sunxi] Re: [PATCH v9 2/2] Add mixer controls: Line-In, FM-In, Mic 2, Capture Source, Differential Line-In. Chen-Yu Tsai <wens@csie.org> - 2016-08-31 10:00 +0200
Re: [linux-sunxi] Re: [PATCH v9 2/2] Add mixer controls: Line-In, FM-In, Mic 2, Capture Source, Differential Line-In. Danny Milosavljevic <dannym@scratchpost.org> - 2016-08-31 10:00 +0200
Re: [linux-sunxi] Re: [PATCH v9 2/2] Add mixer controls: Line-In, FM-In, Mic 2, Capture Source, Differential Line-In. Danny Milosavljevic <dannym@scratchpost.org> - 2016-08-31 09:50 +0200
Re: [PATCH v9 2/2] Add mixer controls: Line-In, FM-In, Mic 2, Capture Source, Differential Line-In. Danny Milosavljevic <dannym@scratchpost.org> - 2016-09-01 13:00 +0200
Re: [linux-sunxi] Re: [PATCH v9 2/2] Add mixer controls: Line-In, FM-In, Mic 2, Capture Source, Differential Line-In. Chen-Yu Tsai <wens@csie.org> - 2016-09-01 15:30 +0200
csiph-web