<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/sound/soc/rockchip, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/sound/soc/rockchip?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/sound/soc/rockchip?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-09-30T16:12:27Z</updated>
<entry>
<title>ASoC: rockchip: i2s: use regmap_read_poll_timeout_atomic to poll I2S_CLR</title>
<updated>2022-09-30T16:12:27Z</updated>
<author>
<name>Judy Hsiao</name>
<email>judyhsiao@chromium.org</email>
</author>
<published>2022-09-30T15:15:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=f0c8d7468af0001b80b0c86802ee28063f800987'/>
<id>urn:sha1:f0c8d7468af0001b80b0c86802ee28063f800987</id>
<content type='text'>
1. Uses regmap_read_poll_timeout_atomic to poll I2S_CLR as it is called
   within a spin lock.

2. Fixes the typo of break condition in regmap_read_poll_timeout_atomic.

Fixes: fbb0ec656ee5 ("ASoC: rockchip: i2s: use regmap_read_poll_timeout to poll I2S_CLR")
Signed-off-by: Judy Hsiao &lt;judyhsiao@chromium.org&gt;
Link: https://lore.kernel.org/r/20220930151546.2017667-1-judyhsiao@chromium.org
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: rockchip: i2s: use regmap_read_poll_timeout to poll I2S_CLR</title>
<updated>2022-09-14T09:39:28Z</updated>
<author>
<name>Judy Hsiao</name>
<email>judyhsiao@chromium.org</email>
</author>
<published>2022-09-14T03:12:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=fbb0ec656ee5ee43b4b3022fd8290707265c52df'/>
<id>urn:sha1:fbb0ec656ee5ee43b4b3022fd8290707265c52df</id>
<content type='text'>
Use regmap_read_poll_timeout to poll I2S_CLR.
It also fixes the 'rockchip-i2s ff070000.i2s; fail to clear' when
the read of I2S_CLR exceeds the retry limit.

Fixes: 0ff9f8b9f592 ("ASoC: rockchip: i2s: Fix error code when fail to read I2S_CLR")
Signed-off-by: Judy Hsiao &lt;judyhsiao@chromium.org&gt;
Reviewed-by: Brian Norris &lt;briannorris@chromium.org&gt;
Link: https://lore.kernel.org/r/20220914031234.2250298-1-judyhsiao@chromium.org
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: Merge up fixes</title>
<updated>2022-07-11T14:51:01Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2022-07-11T14:51:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=39c5c44fc451c083908e77c3b2762fae2bf8acca'/>
<id>urn:sha1:39c5c44fc451c083908e77c3b2762fae2bf8acca</id>
<content type='text'>
Needed for the Rockchip driver.
</content>
</entry>
<entry>
<title>ASoC: rockchip: i2s: Fix NULL pointer dereference when pinctrl is not found</title>
<updated>2022-07-11T13:25:18Z</updated>
<author>
<name>Alexandru Elisei</name>
<email>alexandru.elisei@arm.com</email>
</author>
<published>2022-07-11T13:05:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=26b9f2fa7b1c6aba6fa9b83274a3e54868f69562'/>
<id>urn:sha1:26b9f2fa7b1c6aba6fa9b83274a3e54868f69562</id>
<content type='text'>
Commit a5450aba737d ("ASoC: rockchip: i2s: switch BCLK to GPIO") switched
BCLK to GPIO functions when probing the i2s bus interface, but missed
adding a check for when devm_pinctrl_get() returns an error.  This can lead
to the following NULL pointer dereference on a rockpro64-v2 if there are no
"pinctrl" properties in the i2s device tree node.

Check that i2s-&gt;pinctrl is valid before attempting to search for the
bclk_on and bclk_off pinctrl states.

Fixes: a5450aba737d ("ASoC: rockchip: i2s: switch BCLK to GPIO")
Signed-off-by: Alexandru Elisei &lt;alexandru.elisei@arm.com&gt;
Link: https://lore.kernel.org/r/20220711130522.401551-1-alexandru.elisei@arm.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: rockchip: i2s: Fix error code when fail to read I2S_CLR</title>
<updated>2022-07-05T18:53:53Z</updated>
<author>
<name>Judy Hsiao</name>
<email>judyhsiao@chromium.org</email>
</author>
<published>2022-07-01T02:14:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=0ff9f8b9f59208332c6707e37d5739c57c7f7bce'/>
<id>urn:sha1:0ff9f8b9f59208332c6707e37d5739c57c7f7bce</id>
<content type='text'>
Add the error code '-EBUSY' when fail to read I2S_CLR
in rockchip_snd_rxctrl() and rockchip_snd_txctrl()

Fixes: 44f362c2cc6d ("ASoC: rockchip: i2s: switch BCLK to GPIO")
Signed-off-by: Judy Hsiao &lt;judyhsiao@chromium.org&gt;
Reviewed-by: Brian Norris &lt;briannorris@chromium.org&gt;
Link: https://lore.kernel.org/r/20220701021427.3120549-1-judyhsiao@chromium.org
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: Refactor non_legacy_dai_naming flag</title>
<updated>2022-06-29T15:58:08Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2022-06-29T15:58:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=fc34ece41f7183d522d15dc4189d8df6e8e23737'/>
<id>urn:sha1:fc34ece41f7183d522d15dc4189d8df6e8e23737</id>
<content type='text'>
Merge series from Charles Keepax &lt;ckeepax@opensource.cirrus.com&gt;:

Historically, the legacy DAI naming scheme was applied to platform
drivers and the newer scheme to CODEC drivers. During componentisation
the core lost the knowledge of if a driver was a CODEC or platform, they
were all now components. To continue to support the legacy naming on
older platform drivers a flag was added to the snd_soc_component_driver
structure, non_legacy_dai_naming, to indicate to use the new scheme and
this was applied to all CODECs as part of the migration.

However, a slight issue appears to be developing with respect to this
flag being opt in for the non-legacy scheme, which presumably we want to
be the primary scheme used. Many codec drivers appear to forget to
include this flag:

  grep -l -r "snd_soc_component_driver" sound/soc/codecs/*.c |
  xargs grep -L "non_legacy_dai_naming" | wc
     48      48    556

Whilst in many cases the configuration of the DAIs themselves will cause
the core to apply the new scheme anyway, it would seem more sensible to
change the flag to legacy_dai_naming making the new scheme opt out. This
patch series migrates across to such a scheme.
</content>
</entry>
<entry>
<title>ASoC: rockchip: i2s: Remove unwanted dma settings in rockchip_i2s_probe</title>
<updated>2022-06-29T10:58:47Z</updated>
<author>
<name>Judy Hsiao</name>
<email>judyhsiao@chromium.org</email>
</author>
<published>2022-06-29T08:04:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=d6910eaa6fc71c0307e16b310a07cdb347d26d7d'/>
<id>urn:sha1:d6910eaa6fc71c0307e16b310a07cdb347d26d7d</id>
<content type='text'>
Remove the unwanted dma settings in rockchip_i2s_probe.

Fixes: 44f362c2cc6d ("ASoC: rockchip: i2s: switch BCLK to GPIO")
Signed-off-by: Judy Hsiao &lt;judyhsiao@chromium.org&gt;
Link: https://lore.kernel.org/r/20220629080421.2427933-1-judyhsiao@chromium.org
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: rockchip: i2s: Fix the debug level on missing pinctrl</title>
<updated>2022-06-29T10:58:43Z</updated>
<author>
<name>Judy Hsiao</name>
<email>judyhsiao@chromium.org</email>
</author>
<published>2022-06-29T08:03:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=48620f17e071060092197a09663a1c1fe6207829'/>
<id>urn:sha1:48620f17e071060092197a09663a1c1fe6207829</id>
<content type='text'>
Use dev_dbg on missing i2s-&gt;pinctrl as the pinctrl property is optional.

Fixes: 44f362c2cc6d ("ASoC: rockchip: i2s: switch BCLK to GPIO")
Signed-off-by: Judy Hsiao &lt;judyhsiao@chromium.org&gt;
Link: https://lore.kernel.org/r/20220629080345.2427872-1-judyhsiao@chromium.org
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: rockchip: pdm: use pm_runtime_resume_and_get()</title>
<updated>2022-06-27T12:17:59Z</updated>
<author>
<name>Pierre-Louis Bossart</name>
<email>pierre-louis.bossart@linux.intel.com</email>
</author>
<published>2022-06-16T22:04:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=76a6f4537650e6d2211f34661de35630487c7c64'/>
<id>urn:sha1:76a6f4537650e6d2211f34661de35630487c7c64</id>
<content type='text'>
Simplify the flow.

Signed-off-by: Pierre-Louis Bossart &lt;pierre-louis.bossart@linux.intel.com&gt;
Reviewed-by: Bard Liao &lt;yung-chuan.liao@linux.intel.com&gt;
Reviewed-by: Kai Vehmanen &lt;kai.vehmanen@linux.intel.com&gt;
Reviewed-by: Ranjani Sridharan &lt;ranjani.sridharan@linux.intel.com&gt;
Reviewed-by: Cezary Rojewski &lt;cezary.rojewski@intel.com&gt;
Link: https://lore.kernel.org/r/20220616220427.136036-10-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: rockchip: i2s_tdm: use pm_runtime_resume_and_get()</title>
<updated>2022-06-27T12:17:56Z</updated>
<author>
<name>Pierre-Louis Bossart</name>
<email>pierre-louis.bossart@linux.intel.com</email>
</author>
<published>2022-06-16T22:04:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=8c8a13e83c29472044d733dfb1fced2ccd025d35'/>
<id>urn:sha1:8c8a13e83c29472044d733dfb1fced2ccd025d35</id>
<content type='text'>
simplify the flow. No functionality change, except that on -EACCESS
the reference count will be decreased.

Signed-off-by: Pierre-Louis Bossart &lt;pierre-louis.bossart@linux.intel.com&gt;
Reviewed-by: Bard Liao &lt;yung-chuan.liao@linux.intel.com&gt;
Reviewed-by: Kai Vehmanen &lt;kai.vehmanen@linux.intel.com&gt;
Reviewed-by: Ranjani Sridharan &lt;ranjani.sridharan@linux.intel.com&gt;
Reviewed-by: Cezary Rojewski &lt;cezary.rojewski@intel.com&gt;
Link: https://lore.kernel.org/r/20220616220427.136036-7-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
</feed>
