<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/sound/hda/ext, 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-05-10T16:36:10Z</updated>
<entry>
<title>ALSA: hda: Fix racy display power access</title>
<updated>2019-05-10T16:36:10Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2019-04-10T10:49:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=677713b1254fa4f71eec95725088e4322adfaabf'/>
<id>urn:sha1:677713b1254fa4f71eec95725088e4322adfaabf</id>
<content type='text'>
[ Upstream commit d7a181da2dfa3190487c446042ba01e07d851c74 ]

snd_hdac_display_power() doesn't handle the concurrent calls carefully
enough, and it may lead to the doubly get_power or put_power calls,
when a runtime PM and an async work get called in racy way.

This patch addresses it by reusing the bus-&gt;lock mutex that has been
used for protecting the link state change in ext bus code, so that it
can protect against racy display state changes.  The initialization of
bus-&gt;lock was moved from snd_hdac_ext_bus_init() to
snd_hdac_bus_init() as well accordingly.

Testcase: igt/i915_pm_rpm/module-reload #glk-dsi
Reported-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Reviewed-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Cc: Imre Deak &lt;imre.deak@intel.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>ALSA: hda: Fix mismatch for register mask and value in ext controller.</title>
<updated>2018-10-02T15:10:48Z</updated>
<author>
<name>Keyon Jie</name>
</author>
<published>2018-09-28T09:38:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c32bf867cb6721d6ea04044d33f19c8bd81280c1'/>
<id>urn:sha1:c32bf867cb6721d6ea04044d33f19c8bd81280c1</id>
<content type='text'>
E.g. for snd_hdac_ext_bus_link_power_up(), we should set mask to be
AZX_MLCTL_SPA(it was 0), and AZX_MLCTL_SPA as value to power up it,
here correct it and several similar mismatches.

Signed-off-by: Keyon Jie &lt;yang.jie@linux.intel.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: hda: Fix several mismatch for register mask and value</title>
<updated>2018-09-03T21:47:40Z</updated>
<author>
<name>Keyon Jie</name>
</author>
<published>2018-09-03T02:47:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f7c50fa636f72490baceb1664ba64973137266f2'/>
<id>urn:sha1:f7c50fa636f72490baceb1664ba64973137266f2</id>
<content type='text'>
E.g. for snd_hdac_ext_link_clear_stream_id(), we should set (1 &lt;&lt; stream)
as mask, and 0 as value, here correct it and several similar mismatches.

And, here also remove unreadable register_mask usage for those mask value
updating.

Signed-off-by: Keyon Jie &lt;yang.jie@linux.intel.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: hdac: add extended ops in the hdac_bus</title>
<updated>2018-06-28T05:33:29Z</updated>
<author>
<name>Rakesh Ughreja</name>
</author>
<published>2018-06-02T03:53:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cb04ba33187ca571142b67c2fb60d0a8c24994c8'/>
<id>urn:sha1:cb04ba33187ca571142b67c2fb60d0a8c24994c8</id>
<content type='text'>
Add extended ops in the hdac_bus to allow calling the ASoC HDAC library
ops to reuse the legacy HDA codec drivers with ASoC framework.
Extended ops are used by the legacy codec drivers to call into
hdac_hda library, in the subsequent patches..

Signed-off-by: Rakesh Ughreja &lt;rakesh.a.ughreja@intel.com&gt;
Signed-off-by: Pierre-Louis Bossart &lt;pierre-louis.bossart@linux.intel.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: hdac: remove memory allocation from snd_hdac_ext_bus_device_init</title>
<updated>2018-06-28T05:33:29Z</updated>
<author>
<name>Rakesh Ughreja</name>
</author>
<published>2018-06-02T03:53:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6298542fa33b6ba0e3effbace5b99b70b93ed9ae'/>
<id>urn:sha1:6298542fa33b6ba0e3effbace5b99b70b93ed9ae</id>
<content type='text'>
Remove memory allocation within snd_hdac_ext_bus_device_init, to make
its behaviour identical to snd_hdac_bus_device_init. So that caller
can allocate the parent data structure containing hdac_device.
This API change helps in reusing the legacy HDA codec drivers with
ASoC platform drivers.

Signed-off-by: Rakesh Ughreja &lt;rakesh.a.ughreja@intel.com&gt;
Signed-off-by: Pierre-Louis Bossart &lt;pierre-louis.bossart@linux.intel.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: hdac: ext: add wait for codec to respond after link reset</title>
<updated>2018-06-28T05:33:29Z</updated>
<author>
<name>Rakesh Ughreja</name>
</author>
<published>2018-06-02T03:54:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f8a7fe1aea215e25eaf3bf04dff66fc7621ec9d7'/>
<id>urn:sha1:f8a7fe1aea215e25eaf3bf04dff66fc7621ec9d7</id>
<content type='text'>
As per HDA spec section 4.3 - Codec Discovery, the software shall wait
for atleast 521usec for codec to respond after link reset.
With the multi-link capability each link is turned ON/OFF individually.
Link controller drives reset signal when it is turned ON.

Signed-off-by: Rakesh Ughreja &lt;rakesh.a.ughreja@intel.com&gt;
Signed-off-by: Pierre-Louis Bossart &lt;pierre-louis.bossart@linux.intel.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: hdac: Remove usage of struct hdac_ext_driver, use hdac_driver instead</title>
<updated>2018-06-28T05:33:29Z</updated>
<author>
<name>Rakesh Ughreja</name>
</author>
<published>2018-06-02T03:53:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e1df9317cbb192582ed7aa88c5f294c2336a3c75'/>
<id>urn:sha1:e1df9317cbb192582ed7aa88c5f294c2336a3c75</id>
<content type='text'>
This patch removes the hdac_ext_driver structure. The legacy and
enhanced HDaudio capabilities can be handled in a backward-compatible
way without separate definitions.

Signed-off-by: Rakesh Ughreja &lt;rakesh.a.ughreja@intel.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: hdac: Remove usage of struct hdac_ext_bus and use hdac_bus instead</title>
<updated>2018-06-28T05:33:29Z</updated>
<author>
<name>Rakesh Ughreja</name>
</author>
<published>2018-06-02T03:53:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=76f56fae1cf9040325a58d1375291baf71dfaf03'/>
<id>urn:sha1:76f56fae1cf9040325a58d1375291baf71dfaf03</id>
<content type='text'>
This patch removes the hdac_ext_bus structure. The legacy and
enhanced HDaudio capabilities can be handled in a backward-compatible
way without separate definitions.

Follow-up patches in this series handle the driver definition.

Signed-off-by: Rakesh Ughreja &lt;rakesh.a.ughreja@intel.com&gt;
Signed-off-by: Pierre-Louis Bossart &lt;pierre-louis.bossart@linux.intel.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: hdac: Remove usage of struct hdac_ext_device and use hdac_device instead</title>
<updated>2018-06-28T05:33:29Z</updated>
<author>
<name>Rakesh Ughreja</name>
</author>
<published>2018-06-02T03:53:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3787a39852b0d6a9e67336f8fb5815c13ab78bb6'/>
<id>urn:sha1:3787a39852b0d6a9e67336f8fb5815c13ab78bb6</id>
<content type='text'>
This patch removes the hdac_ext_device structure. The legacy and
enhanced HDaudio capabilities can be handled in a backward-compatible
way without separate definitions.

Follow-up patches in this series handle the bus and driver definitions.

Signed-off-by: Rakesh Ughreja &lt;rakesh.a.ughreja@intel.com&gt;
Signed-off-by: Pierre-Louis Bossart &lt;pierre-louis.bossart@linux.intel.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ASoC: hdac_hdmi: clean up hdac_device variable names</title>
<updated>2017-12-01T12:48:16Z</updated>
<author>
<name>Ughreja, Rakesh A</name>
</author>
<published>2017-12-01T09:13:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f0c5ebebacf3cc246e51e8814f5d4b22179f37bd'/>
<id>urn:sha1:f0c5ebebacf3cc246e51e8814f5d4b22179f37bd</id>
<content type='text'>
This patch renames all the variable instances of hdac_device with hdev
to prepare the code base to remove the usage of hdac_ext_device
data structures done in the following patches. Existing code uses hdev
and hdac as variable names for hdac_device as well as hdac_ext_device,
which creates confusion.

Signed-off-by: Rakesh Ughreja &lt;rakesh.a.ughreja@intel.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
</feed>
