<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/sound/soc/codecs/bt-sco.c, branch master</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=master</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2022-12-25T23:32:48Z</updated>
<entry>
<title>ASoC: bt-sco: Drop empty platform remove function</title>
<updated>2022-12-25T23:32:48Z</updated>
<author>
<name>Uwe Kleine-König</name>
<email>u.kleine-koenig@pengutronix.de</email>
</author>
<published>2022-12-12T20:53:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f9cc66890fb8d695e38486595851701dbfa22487'/>
<id>urn:sha1:f9cc66890fb8d695e38486595851701dbfa22487</id>
<content type='text'>
A remove callback just returning 0 is equivalent to no remove callback
at all. So drop the useless function.

Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Link: https://lore.kernel.org/r/20221212205406.3771071-9-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: bt-sco: Remove now redundant non_legacy_dai_naming flag</title>
<updated>2022-06-27T12:17:19Z</updated>
<author>
<name>Charles Keepax</name>
<email>ckeepax@opensource.cirrus.com</email>
</author>
<published>2022-06-23T12:52:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8c657358f685cec541d7ad3c54f899a65f56783e'/>
<id>urn:sha1:8c657358f685cec541d7ad3c54f899a65f56783e</id>
<content type='text'>
The ASoC core has now been changed to default to the non-legacy DAI
naming, as such drivers using the new scheme no longer need to specify
the non_legacy_dai_naming flag.

Signed-off-by: Charles Keepax &lt;ckeepax@opensource.cirrus.com&gt;
Link: https://lore.kernel.org/r/20220623125250.2355471-72-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: bt-sco: fix bt-sco-pcm-wb dai widget don't connect to the endpoint</title>
<updated>2022-03-03T12:48:37Z</updated>
<author>
<name>Jiaxin Yu</name>
<email>jiaxin.yu@mediatek.com</email>
</author>
<published>2022-03-02T01:35:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8f2b025abc31bc15d38657d1286d7470bbbd5efa'/>
<id>urn:sha1:8f2b025abc31bc15d38657d1286d7470bbbd5efa</id>
<content type='text'>
This patch fix the second dai driver's dai widget can't connect to the
endpoint. Because "bt-sco-pcm" and "bt-sco-pcm-wb" dai driver have the
same stream_name, so it will cause they have the same widget name.
Therefor it will just create only one route when do snd_soc_dapm_add_route
that only find the widget through the widget name.

Signed-off-by: Jiaxin Yu &lt;jiaxin.yu@mediatek.com&gt;
Link: https://lore.kernel.org/r/20220302013533.29068-1-jiaxin.yu@mediatek.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152</title>
<updated>2019-05-30T18:26:32Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2019-05-27T06:55:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2874c5fd284268364ece81a7bd936f3c8168e567'/>
<id>urn:sha1:2874c5fd284268364ece81a7bd936f3c8168e567</id>
<content type='text'>
Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license as published by
  the free software foundation either version 2 of the license or at
  your option any later version

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 3029 file(s).

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Reviewed-by: Allison Randal &lt;allison@lohutok.net&gt;
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190527070032.746973796@linutronix.de
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ASoC: bt-sco: replace codec to component</title>
<updated>2018-02-12T10:00:52Z</updated>
<author>
<name>Kuninori Morimoto</name>
<email>kuninori.morimoto.gx@renesas.com</email>
</author>
<published>2018-01-29T04:34:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=90e678d2e1a50b913f23a897851caa3d190690b1'/>
<id>urn:sha1:90e678d2e1a50b913f23a897851caa3d190690b1</id>
<content type='text'>
Now we can replace Codec to Component. Let's do it.

Note:
	xxx_codec_xxx()		-&gt;	xxx_component_xxx()
	.idle_bias_off = 0	-&gt;	.idle_bias_on = 1
	.ignore_pmdown_time = 0	-&gt;	.use_pmdown_time = 1
	-			-&gt;	.endianness = 1
	-			-&gt;	.non_legacy_dai_naming = 1

Signed-off-by: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: codecs: add const to snd_soc_codec_driver structures</title>
<updated>2017-08-10T15:10:50Z</updated>
<author>
<name>Bhumika Goyal</name>
<email>bhumirks@gmail.com</email>
</author>
<published>2017-08-03T16:00:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a180ba45b1cf630b3bd5912ce235b2ee16606b8e'/>
<id>urn:sha1:a180ba45b1cf630b3bd5912ce235b2ee16606b8e</id>
<content type='text'>
Declare snd_soc_codec_driver structures as const as they are only passed
as an argument to the function snd_soc_register_codec. This argument is
of type const, so declare the structures with this property as const.
In file codecs/sn95031.c, snd_soc_codec_driver structure is also used in
a copy operation along with getting passed to snd_soc_register_codec.
So, it can be made const too.
Done using Coccinelle:

@match disable optional_qualifier@
identifier s;
position p;
@@
static struct snd_soc_codec_driver s@p={...};

@good1@
identifier match.s;
position p;
@@
snd_soc_register_codec(...,&amp;s@p,...)

@bad@
identifier match.s;
position p!={match.p,good1.p};
@@
s@p

@depends on !bad disable optional_qualifier@
identifier match.s;
@@
static
+const
struct snd_soc_codec_driver s={...};

Signed-off-by: Bhumika Goyal &lt;bhumirks@gmail.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: codec duplicated callback function goes to component on bt-sco</title>
<updated>2016-08-08T10:57:57Z</updated>
<author>
<name>Kuninori Morimoto</name>
<email>kuninori.morimoto.gx@renesas.com</email>
</author>
<published>2016-08-08T09:05:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=24fe48d78be574dcd43bc5156f47d37757cfffbd'/>
<id>urn:sha1:24fe48d78be574dcd43bc5156f47d37757cfffbd</id>
<content type='text'>
codec driver and component driver has duplicated callback functions,
and codec side functions are just copied to component side when
register timing. This was quick-hack, but no longer needed.
This patch moves these functions from codec driver to component driver.

Signed-off-by: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: bt-sco: extend rate and add a general compatible string</title>
<updated>2016-07-04T14:29:18Z</updated>
<author>
<name>Garlic Tseng</name>
<email>garlic.tseng@mediatek.com</email>
</author>
<published>2016-07-04T10:56:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5947e1b4992e2852b5176df6a554b5ebfbc9eff2'/>
<id>urn:sha1:5947e1b4992e2852b5176df6a554b5ebfbc9eff2</id>
<content type='text'>
Add supports for 16k (wideband BT) and add a general compatible
string "linux,bt-sco"

Signed-off-by: Garlic Tseng &lt;garlic.tseng@mediatek.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: bt-sco: Add devicetree support for bt-sco codec</title>
<updated>2015-05-12T18:43:41Z</updated>
<author>
<name>Marek Belisko</name>
<email>marek@goldelico.com</email>
</author>
<published>2015-05-08T19:02:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c778b4726a13ed38f8d36c926b7b0d5144c562de'/>
<id>urn:sha1:c778b4726a13ed38f8d36c926b7b0d5144c562de</id>
<content type='text'>
Add devicetree support for bluetooth SCO link codec.

Signed-off-by: Marek Belisko &lt;marek@goldelico.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: bt-sco: Constify platform_device_id</title>
<updated>2015-05-01T16:51:17Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
<email>k.kozlowski.k@gmail.com</email>
</author>
<published>2015-05-01T16:00:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c5787431e68cee54c1e1b19d934e8b0e0fde5697'/>
<id>urn:sha1:c5787431e68cee54c1e1b19d934e8b0e0fde5697</id>
<content type='text'>
The platform_device_id is not modified by the driver and core uses it as
const.

Signed-off-by: Krzysztof Kozlowski &lt;k.kozlowski.k@gmail.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
</feed>
