Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1434492 > unrolled thread
| Started by | Mark Brown <broonie@kernel.org> |
|---|---|
| First post | 2016-06-30 14:20 +0200 |
| Last post | 2016-07-04 04:00 +0200 |
| Articles | 6 — 3 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [alsa-devel] [PATCH v5 7/9] ASoC: bt-sco: extend rate and add a general compatible string Mark Brown <broonie@kernel.org> - 2016-06-30 14:20 +0200
Re: [alsa-devel] [PATCH v5 7/9] ASoC: bt-sco: extend rate and add a general compatible string Garlic Tseng <garlic.tseng@mediatek.com> - 2016-06-30 15:00 +0200
Re: [alsa-devel] [PATCH v5 7/9] ASoC: bt-sco: extend rate and add a general compatible string Garlic Tseng <garlic.tseng@mediatek.com> - 2016-07-01 05:00 +0200
Re: [alsa-devel] [PATCH v5 7/9] ASoC: bt-sco: extend rate and add a general compatible string Mark Brown <broonie@kernel.org> - 2016-07-01 18:20 +0200
Re: [alsa-devel] [PATCH v5 7/9] ASoC: bt-sco: extend rate and add a general compatible string Chen-Yu Tsai <wens@csie.org> - 2016-07-02 11:20 +0200
Re: [alsa-devel] [PATCH v5 7/9] ASoC: bt-sco: extend rate and add a general compatible string Garlic Tseng <garlic.tseng@mediatek.com> - 2016-07-04 04:00 +0200
| From | Mark Brown <broonie@kernel.org> |
|---|---|
| Date | 2016-06-30 14:20 +0200 |
| Subject | Re: [alsa-devel] [PATCH v5 7/9] ASoC: bt-sco: extend rate and add a general compatible string |
| Message-ID | <rPJ6P-12j-41@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
On Fri, Jun 17, 2016 at 03:43:58PM +0800, Garlic Tseng wrote: > Add supports for 16k (wideband BT) and add a general compatible > string "linux,bt-sco" This will claim that we support 16k on existing systems which we clearly don't. It also seems unwise to advertise multiple rates when we've no way to configure the rates... how does the BT controller figure out what the sample rate is?
[toc] | [next] | [standalone]
| From | Garlic Tseng <garlic.tseng@mediatek.com> |
|---|---|
| Date | 2016-06-30 15:00 +0200 |
| Message-ID | <rPJJw-1fQ-35@gated-at.bofh.it> |
| In reply to | #1434492 |
On Wed, 2016-06-29 at 20:15 +0100, Mark Brown wrote: > On Fri, Jun 17, 2016 at 03:43:58PM +0800, Garlic Tseng wrote: > > Add supports for 16k (wideband BT) and add a general compatible > > string "linux,bt-sco" > > This will claim that we support 16k on existing systems which we clearly > don't. It also seems unwise to advertise multiple rates when we've no > way to configure the rates... how does the BT controller figure out > what the sample rate is? The codec driver is a dummy driver for bt device and actually do nothing. The user-space will control both bt part and alsa part (at least in mt2701 platform). Yes the sound/soc/codecs/bt-sco.c was only support 8k and was already there before the patch, but I think it might be ok to extend it to 16k without any side effect. If you worry about some potential risk (I don't see any) maybe we have to develop another dummy bt-sco codec driver which support both 8k and 16k?
[toc] | [prev] | [next] | [standalone]
| From | Garlic Tseng <garlic.tseng@mediatek.com> |
|---|---|
| Date | 2016-07-01 05:00 +0200 |
| Message-ID | <rPWQq-11a-21@gated-at.bofh.it> |
| In reply to | #1434531 |
On Thu, 2016-06-30 at 20:55 +0800, Garlic Tseng wrote: > On Wed, 2016-06-29 at 20:15 +0100, Mark Brown wrote: > > On Fri, Jun 17, 2016 at 03:43:58PM +0800, Garlic Tseng wrote: > > > Add supports for 16k (wideband BT) and add a general compatible > > > string "linux,bt-sco" > > > > This will claim that we support 16k on existing systems which we clearly > > don't. It also seems unwise to advertise multiple rates when we've no > > way to configure the rates... how does the BT controller figure out > > what the sample rate is? > > The codec driver is a dummy driver for bt device and actually do > nothing. The user-space will control both bt part and alsa part (at > least in mt2701 platform). Yes the sound/soc/codecs/bt-sco.c was only > support 8k and was already there before the patch, but I think it might > be ok to extend it to 16k without any side effect. > > If you worry about some potential risk (I don't see any) maybe we have > to develop another dummy bt-sco codec driver which support both 8k and > 16k? Ah! If someone whose bluetooth modules only support 8k use the driver, they might be broken, right? Maybe we can add another snd_soc_dai_driver which can support both 8k and 16k. (Actually I found the issue is discussed before http://mailman.alsa-project.org/pipermail/alsa-devel/2014-November/084687.html )
[toc] | [prev] | [next] | [standalone]
| From | Mark Brown <broonie@kernel.org> |
|---|---|
| Date | 2016-07-01 18:20 +0200 |
| Message-ID | <rQ9kC-nP-31@gated-at.bofh.it> |
| In reply to | #1434985 |
[Multipart message — attachments visible in raw view] — view raw
On Fri, Jul 01, 2016 at 10:49:46AM +0800, Garlic Tseng wrote: > On Thu, 2016-06-30 at 20:55 +0800, Garlic Tseng wrote: > > If you worry about some potential risk (I don't see any) maybe we have > > to develop another dummy bt-sco codec driver which support both 8k and > > 16k? > Ah! If someone whose bluetooth modules only support 8k use the driver, > they might be broken, right? Maybe we can add another snd_soc_dai_driver > which can support both 8k and 16k. > (Actually I found the issue is discussed before > http://mailman.alsa-project.org/pipermail/alsa-devel/2014-November/084687.html ) Yes, that'd be fine - it could be the same driver and register different parameters depending on config/compatible.
[toc] | [prev] | [next] | [standalone]
| From | Chen-Yu Tsai <wens@csie.org> |
|---|---|
| Date | 2016-07-02 11:20 +0200 |
| Message-ID | <rQpfH-1GJ-13@gated-at.bofh.it> |
| In reply to | #1435484 |
Hi, On Sat, Jul 2, 2016 at 12:11 AM, Mark Brown <broonie@kernel.org> wrote: > On Fri, Jul 01, 2016 at 10:49:46AM +0800, Garlic Tseng wrote: >> On Thu, 2016-06-30 at 20:55 +0800, Garlic Tseng wrote: > >> > If you worry about some potential risk (I don't see any) maybe we have >> > to develop another dummy bt-sco codec driver which support both 8k and >> > 16k? > >> Ah! If someone whose bluetooth modules only support 8k use the driver, >> they might be broken, right? Maybe we can add another snd_soc_dai_driver >> which can support both 8k and 16k. >> (Actually I found the issue is discussed before >> http://mailman.alsa-project.org/pipermail/alsa-devel/2014-November/084687.html ) > > Yes, that'd be fine - it could be the same driver and register different > parameters depending on config/compatible. Could we also make this driver directly configurable from Kconfig, and not just selected by platforms (currently Samsung) or by building all coddecs? Thanks ChenYu
[toc] | [prev] | [next] | [standalone]
| From | Garlic Tseng <garlic.tseng@mediatek.com> |
|---|---|
| Date | 2016-07-04 04:00 +0200 |
| Message-ID | <rR1l0-7Ok-5@gated-at.bofh.it> |
| In reply to | #1435756 |
On Sat, 2016-07-02 at 17:05 +0800, Chen-Yu Tsai wrote: Hi, > Could we also make this driver directly configurable from Kconfig, > and not just selected by platforms (currently Samsung) or by building > all coddecs? > > Thanks > ChenYu I'll add configure prompt for SND_SOC_BT_SCO in next patchset. Thanks for comment. Garlic
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web