<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/sound/soc/generic, branch linux-5.0.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-04-05T20:34:53Z</updated>
<entry>
<title>ASoC: simple-card-utils: check "reg" property on asoc_simple_card_get_dai_id()</title>
<updated>2019-04-05T20:34:53Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2018-12-20T01:45:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0a2e1a5b583b8564834cdbc161cd1614cc834e59'/>
<id>urn:sha1:0a2e1a5b583b8564834cdbc161cd1614cc834e59</id>
<content type='text'>
[ Upstream commit a0c426fe143328760c9fd565cd203a37a7b4fde8 ]

We will get DAI ID from "reg" property if it has on DT, otherwise get
it by counting port/endpoint.

But in below case, we need to get DAI ID = 0 via port reg = &lt;0&gt;, but
current implementation returns ID = 1, because it can't judge ID = 0 was
from "non reg" or "reg = &lt;0&gt;".
Thus, it will count port/endpoint number as "non reg" case.

of_graph_parse_endpoint() implementation itself is not a problem,
but because asoc_simple_card_get_dai_id() need to count port/endpoint
number when "non reg" case, it need to know ID = 0 was from
"non reg" or "reg = &lt;0&gt;".
This patch fix this issue.

	port {
		reg = &lt;0&gt;;
		xxxx: endpoint@0 {
		};
=&gt;		xxxx: endpoint@1 {
		};
	};

Signed-off-by: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: simple-card: fixup refcount_t underflow</title>
<updated>2019-02-18T18:36:52Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2019-02-15T06:31:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=19dd0777773ab17b4d97f7105e836867c0cdecb4'/>
<id>urn:sha1:19dd0777773ab17b4d97f7105e836867c0cdecb4</id>
<content type='text'>
commit da215354eb55c ("ASoC: simple-card: merge simple-scu-card")
merged simple-card and simple-scu-card. Then it had refcount
underflow bug. This patch fixup it.
We will get below error without this patch.

	OF: ERROR: Bad of_node_put() on /sound
	CPU: 3 PID: 237 Comm: kworker/3:1 Not tainted 5.0.0-rc6+ #1514
	Hardware name: Renesas H3ULCB Kingfisher board based on r8a7795 ES2.0+ (DT)
	Workqueue: events deferred_probe_work_func
	Call trace:
	 dump_backtrace+0x0/0x150
	 show_stack+0x24/0x30
	 dump_stack+0xb0/0xec
	 of_node_release+0xd0/0xd8
	 kobject_put+0x74/0xe8
	 of_node_put+0x24/0x30
	 __of_get_next_child+0x50/0x70
	 of_get_next_child+0x40/0x68
	 asoc_simple_card_probe+0x604/0x730
	 platform_drv_probe+0x58/0xa8
	 ...
Reported-by: Vicente Bergas &lt;vicencb@gmail.com&gt;
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: simple-card: tidyup prefix for snd_soc_codec_conf</title>
<updated>2018-12-14T11:48:57Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2018-12-14T02:35:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cfc652a73331c3b465e3f8dd39a3d6b71e6b3a66'/>
<id>urn:sha1:cfc652a73331c3b465e3f8dd39a3d6b71e6b3a66</id>
<content type='text'>
Current simple-card is handling "prefix" by many ways.
But, it is not useful and readable.
We want to do is that allow having it everywere.
This patch supports it.
It will be overwrote if lower node has it.

sound {
	simple-audio-card,prefix = "xxx"; // initial

	simple-audio-card,dai-link {
		prefix = "xxx"; // overwrite
		cpu {
			...
		};
		codec {
			prefix = "xxx"; // overwrite
		};
	};
};

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: simple-card: tidyup convert_rate/channel method</title>
<updated>2018-12-14T11:48:42Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2018-12-14T02:35:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dd82410f7e939f00591c415d62915a89ac2fb8f0'/>
<id>urn:sha1:dd82410f7e939f00591c415d62915a89ac2fb8f0</id>
<content type='text'>
Current simple-card is handling "convert_rate/channel"
by many ways. But, it is not useful and readable.
We want to do is that allow having it everywere.
This patch support it.
It will be overwrote if lower node has it.

sound {
	simple-audio-card,convert_channels = &lt;xxx&gt;; // initial

	simple-audio-card,dai-link {
		convert_channels = &lt;xxx&gt;; // overwrite
		cpu {
			convert_channels = &lt;xxx&gt;; // overwrite
		};
		codec {
			convert_channels = &lt;xxx&gt;; // overwrite
		};
	};
};

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: simple-card: tidyup mclk-fs method</title>
<updated>2018-12-14T11:48:27Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2018-12-14T02:35:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=79e834914d1fa2d078c586094ad347cc05aa428c'/>
<id>urn:sha1:79e834914d1fa2d078c586094ad347cc05aa428c</id>
<content type='text'>
Current simple-card is handling "mclk-fs" by many way.
But, it is not useful and readable.
We want to do is that allow having mclk-fs everywere.
This patch support it.
It will be overwrote if lower node has it.

sound {
	simple-audio-card,mclk-fs = &lt;xxx&gt;; // for initial

	simple-audio-card,dai-link {
		mclk-fs = &lt;xxx&gt;; // overwrite
		cpu {
			mclk-fs = &lt;xxx&gt;; // overwrite
		};
		codec {
			mclk-fs = &lt;xxx&gt;; // overwrite
		};
	};
};

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: simple-card: merge simple-scu-card</title>
<updated>2018-12-14T11:48:12Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2018-12-14T02:35:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=da215354eb55c382d3d5c426ea0e9aa7ef7c10e1'/>
<id>urn:sha1:da215354eb55c382d3d5c426ea0e9aa7ef7c10e1</id>
<content type='text'>
simple-card and simple-scu-card are very similar driver,
but the former is supporting normal sound card,
the latter is supporting DPCM sound card.

We couldn't use normal sound and DPCM sound in same time by
one sound card. This patch merges both sound card into
simple-card. Now we can use both feature on same driver.

simple-card is now supporting .compatible = "simple-scu-audio-card".

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: audio-graph-card: tidyup prefix for snd_soc_codec_conf</title>
<updated>2018-12-14T11:47:49Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2018-12-14T02:32:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=66164a4da30dd295a1b60568c02bee37cfd9895a'/>
<id>urn:sha1:66164a4da30dd295a1b60568c02bee37cfd9895a</id>
<content type='text'>
Current audio-graph-card is handling "prefix" by many ways.
But, it is not useful and readable.
We want to do is that allow having it everywere.
This patch supports it.
It will be overwrote if lower node has it.

	sound {
		prefix = "xxx"; // initial
	};

	codec {
		audio-graph-card,prefix = "xxx"; // overwrite
		ports {
			prefix = "xxx"; // overwrite
			port {
				prefix = "xxx"; // overwrite
			};
		};
	};

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: audio-graph-card: tidyup convert_rate/channel method</title>
<updated>2018-12-14T11:47:34Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2018-12-14T02:32:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7ced65ffb82fa58c6e314c16770288fe9ce3dfc8'/>
<id>urn:sha1:7ced65ffb82fa58c6e314c16770288fe9ce3dfc8</id>
<content type='text'>
Current audio-graph-card is handling "convert_rate/channel"
by many ways. But, it is not useful and readable.
We want to do is that allow having it everywere.
This patch support it.
It will be overwrote if lower node has it.

sound {
	convert-channels = &lt;xxx&gt;; // initial
};

codec {
	audio-graph-card,convert-channels = &lt;xxx&gt;; // overwrite
	ports {
		convert_channels = &lt;xxx&gt;; // overwrite
		port {
			convert_channels = &lt;xxx&gt;; // overwrite
			endpoint {
				convert_channels = &lt;xxx&gt;; // overwrite
			};
		};
	};
};

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: audio-graph-card: tidyup mclk-fs method</title>
<updated>2018-12-14T11:47:19Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2018-12-14T02:32:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=56eb818191fbe4b93bbe6e884f96061013c9a6ab'/>
<id>urn:sha1:56eb818191fbe4b93bbe6e884f96061013c9a6ab</id>
<content type='text'>
Current audio-graph-card is handling "mclk-fs" by many way.
But, it is not useful and readable.
We want to do is that allow having mclk-fs everywere.
This patch support it.
It will be overwrote if lower node has it.

sound {
	mclk-fs = &lt;xxx&gt;; // initial
};

codec {
	ports {
		mclk-fs = &lt;xxx&gt;; // overwrite
		port {
			mclk-fs = &lt;xxx&gt;; // overwrite
			endpoint {
				mclk-fs = &lt;xxx&gt;; // overwrite
			};
		};
	};
};

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: audio-graph-card: merge audio-graph-scu-card</title>
<updated>2018-12-14T11:47:04Z</updated>
<author>
<name>Kuninori Morimoto</name>
</author>
<published>2018-12-14T02:32:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ae3cb5790906b5caf519f6f21792c30fb5ddf8db'/>
<id>urn:sha1:ae3cb5790906b5caf519f6f21792c30fb5ddf8db</id>
<content type='text'>
audio-graph-card and audio-graph-scu-card are very similar driver,
but the former is supporting normal sound card,
the latter is supporting DPCM sound card.

We couldn't use normal sound and DPCM sound in same sound card by
audio-graph-card.
This patch merges both sound card into it.
Now we can use both feature on same driver.

audio-grap-card is now supporting .compatible = "audio-graph-scu-card".

Signed-off-by: Kuninori Morimoto &lt;kuninori.morimoto.gx@renesas.com&gt;
Tested-by: Tony Lindgren &lt;tony@atomide.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
</feed>
