<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/sound/soc/codecs/uda1380.c, branch v3.2.13</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>ASoC: uda1380: Return proper error in uda1380_modinit failure path</title>
<updated>2011-12-04T23:47:15+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@gmail.com</email>
</author>
<published>2011-12-04T11:35:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ef1497707c69f3805bbca97c5d10c2913b6d2fa1'/>
<id>ef1497707c69f3805bbca97c5d10c2913b6d2fa1</id>
<content type='text'>
Return proper error for uda1380_modinit if i2c_add_driver() fails.

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Return proper error for uda1380_modinit if i2c_add_driver() fails.

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ASoC: codecs: Remove unused reg_cache fields from device structs</title>
<updated>2010-12-28T23:37:21+00:00</updated>
<author>
<name>Lars-Peter Clausen</name>
<email>lars@metafoo.de</email>
</author>
<published>2010-12-28T20:37:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=839d271c509b6ce5c1da8a8e89fad73a1af0ddda'/>
<id>839d271c509b6ce5c1da8a8e89fad73a1af0ddda</id>
<content type='text'>
The multi-component patch(commit f0fba2ad1) moved the allocation of the
register cache from the driver to the ASoC core. Most drivers where adjusted to
this, but there are quite a few drivers left which now have an unused reg_cache field in
their private device struct.
This patch removes these unused fields.

Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The multi-component patch(commit f0fba2ad1) moved the allocation of the
register cache from the driver to the ASoC core. Most drivers where adjusted to
this, but there are quite a few drivers left which now have an unused reg_cache field in
their private device struct.
This patch removes these unused fields.

Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ASoC: Do not include soc-dapm.h</title>
<updated>2010-11-22T14:04:41+00:00</updated>
<author>
<name>Jarkko Nikula</name>
<email>jhnikula@gmail.com</email>
</author>
<published>2010-11-21T17:48:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=505fb824e754efcc9702ce68d3911e7b86d3c690'/>
<id>505fb824e754efcc9702ce68d3911e7b86d3c690</id>
<content type='text'>
There is no need to include soc-dapm.h since soc.h includes it.

Signed-off-by: Jarkko Nikula &lt;jhnikula@gmail.com&gt;
Acked-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is no need to include soc-dapm.h since soc.h includes it.

Signed-off-by: Jarkko Nikula &lt;jhnikula@gmail.com&gt;
Acked-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ASoC: Decouple DAPM from CODECs</title>
<updated>2010-11-06T15:28:29+00:00</updated>
<author>
<name>Liam Girdwood</name>
<email>lrg@slimlogic.co.uk</email>
</author>
<published>2010-11-05T13:53:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ce6120cca2589ede530200c7cfe11ac9f144333c'/>
<id>ce6120cca2589ede530200c7cfe11ac9f144333c</id>
<content type='text'>
Decoupling Dynamic Audio Power Management (DAPM) from codec devices is
required when developing ASoC further. Such as for other ASoC components to
have DAPM widgets or when extending DAPM to handle cross-device paths.

This patch decouples DAPM related variables from struct snd_soc_codec and
moves them to new struct snd_soc_dapm_context that is used to encapsulate
DAPM context of a device. ASoC core and API of DAPM functions are modified
to use DAPM context instead of codec.

This patch does not change current functionality and a large part of changes
come because of structure and internal API changes.

Core implementation is from Liam Girdwood &lt;lrg@slimlogic.co.uk&gt; with some
minor core changes, codecs and machine driver conversions from
Jarkko Nikula &lt;jhnikula@gmail.com&gt;.

Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
Signed-off-by: Jarkko Nikula &lt;jhnikula@gmail.com&gt;
Cc: Nicolas Ferre &lt;nicolas.ferre@atmel.com&gt;
Cc: Manuel Lauss &lt;manuel.lauss@googlemail.com&gt;
Cc: Mike Frysinger &lt;vapier.adi@gmail.com&gt;
Cc: Cliff Cai &lt;cliff.cai@analog.com&gt;
Cc: Kevin Hilman &lt;khilman@deeprootsystems.com&gt;
Cc: Ryan Mallon &lt;ryan@bluewatersys.com&gt;
Cc: Timur Tabi &lt;timur@freescale.com&gt;
Cc: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
Cc: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Cc: Arnaud Patard (Rtp) &lt;arnaud.patard@rtp-net.org&gt;
Cc: Wan ZongShun &lt;mcuos.com@gmail.com&gt;
Cc: Eric Miao &lt;eric.y.miao@gmail.com&gt;
Cc: Jassi Brar &lt;jassi.brar@samsung.com&gt;
Cc: Daniel Gloeckner &lt;dg@emlix.com&gt;
Cc: Kuninori Morimoto &lt;morimoto.kuninori@renesas.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Decoupling Dynamic Audio Power Management (DAPM) from codec devices is
required when developing ASoC further. Such as for other ASoC components to
have DAPM widgets or when extending DAPM to handle cross-device paths.

This patch decouples DAPM related variables from struct snd_soc_codec and
moves them to new struct snd_soc_dapm_context that is used to encapsulate
DAPM context of a device. ASoC core and API of DAPM functions are modified
to use DAPM context instead of codec.

This patch does not change current functionality and a large part of changes
come because of structure and internal API changes.

Core implementation is from Liam Girdwood &lt;lrg@slimlogic.co.uk&gt; with some
minor core changes, codecs and machine driver conversions from
Jarkko Nikula &lt;jhnikula@gmail.com&gt;.

Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
Signed-off-by: Jarkko Nikula &lt;jhnikula@gmail.com&gt;
Cc: Nicolas Ferre &lt;nicolas.ferre@atmel.com&gt;
Cc: Manuel Lauss &lt;manuel.lauss@googlemail.com&gt;
Cc: Mike Frysinger &lt;vapier.adi@gmail.com&gt;
Cc: Cliff Cai &lt;cliff.cai@analog.com&gt;
Cc: Kevin Hilman &lt;khilman@deeprootsystems.com&gt;
Cc: Ryan Mallon &lt;ryan@bluewatersys.com&gt;
Cc: Timur Tabi &lt;timur@freescale.com&gt;
Cc: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
Cc: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Cc: Arnaud Patard (Rtp) &lt;arnaud.patard@rtp-net.org&gt;
Cc: Wan ZongShun &lt;mcuos.com@gmail.com&gt;
Cc: Eric Miao &lt;eric.y.miao@gmail.com&gt;
Cc: Jassi Brar &lt;jassi.brar@samsung.com&gt;
Cc: Daniel Gloeckner &lt;dg@emlix.com&gt;
Cc: Kuninori Morimoto &lt;morimoto.kuninori@renesas.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ASoC: UDA1380: Add delay between power on and reset</title>
<updated>2010-09-08T10:27:16+00:00</updated>
<author>
<name>Vasily Khoruzhick</name>
<email>anarsoul@gmail.com</email>
</author>
<published>2010-09-07T14:04:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8e3dce4d085328a8999a7362785c8d242fb34e66'/>
<id>8e3dce4d085328a8999a7362785c8d242fb34e66</id>
<content type='text'>
Signed-off-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
Acked-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
Acked-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ASoC: uda1380: make driver more powersave-friendly</title>
<updated>2010-08-31T12:25:17+00:00</updated>
<author>
<name>Vasily Khoruzhick</name>
<email>anarsoul@gmail.com</email>
</author>
<published>2010-08-30T08:28:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8614d310a2ba78cfc73ab12da112c3115801f94e'/>
<id>8614d310a2ba78cfc73ab12da112c3115801f94e</id>
<content type='text'>
Disable some codec modules in standby mode, completely disable
codec in off mode to save some power.
Fix suspend/resume: mark mixer regs as dirty on resume to
restore mixer values, otherwise driver produces no sound
(master is muted by default).

Signed-off-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
Acked-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Acked-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Disable some codec modules in standby mode, completely disable
codec in off mode to save some power.
Fix suspend/resume: mark mixer regs as dirty on resume to
restore mixer values, otherwise driver produces no sound
(master is muted by default).

Signed-off-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
Acked-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Acked-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ASoC: multi-component - ASoC Multi-Component Support</title>
<updated>2010-08-12T13:00:00+00:00</updated>
<author>
<name>Liam Girdwood</name>
<email>lrg@slimlogic.co.uk</email>
</author>
<published>2010-03-17T20:15:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f0fba2ad1b6b53d5360125c41953b7afcd6deff0'/>
<id>f0fba2ad1b6b53d5360125c41953b7afcd6deff0</id>
<content type='text'>
This patch extends the ASoC API to allow sound cards to have more than one
CODEC and more than one platform DMA controller. This is achieved by dividing
some current ASoC structures that contain both driver data and device data into
structures that only either contain device data or driver data. i.e.

 struct snd_soc_codec    ---&gt;  struct snd_soc_codec (device data)
                          +-&gt;  struct snd_soc_codec_driver (driver data)

 struct snd_soc_platform ---&gt;  struct snd_soc_platform (device data)
                          +-&gt;  struct snd_soc_platform_driver (driver data)

 struct snd_soc_dai      ---&gt;  struct snd_soc_dai (device data)
                          +-&gt;  struct snd_soc_dai_driver (driver data)

 struct snd_soc_device   ---&gt;  deleted

This now allows ASoC to be more tightly aligned with the Linux driver model and
also means that every ASoC codec, platform and (platform) DAI is a kernel
device. ASoC component private data is now stored as device private data.

The ASoC sound card struct snd_soc_card has also been updated to store lists
of it's components rather than a pointer to a codec and platform. The PCM
runtime struct soc_pcm_runtime now has pointers to all its components.

This patch adds DAPM support for ASoC multi-component and removes struct
snd_soc_socdev from DAPM core. All DAPM calls are now made on a card, codec
or runtime PCM level basis rather than using snd_soc_socdev.

Other notable multi-component changes:-

 * Stream operations now de-reference less structures.
 * close_delayed work() now runs on a DAI basis rather than looping all DAIs
   in a card.
 * PM suspend()/resume() operations can now handle N CODECs and Platforms
   per sound card.
 * Added soc_bind_dai_link() to bind the component devices to the sound card.
 * Added soc_dai_link_probe() and soc_dai_link_remove() to probe and remove
   DAI link components.
 * sysfs entries can now be registered per component per card.
 * snd_soc_new_pcms() functionailty rolled into dai_link_probe().
 * snd_soc_register_codec() now does all the codec list and mutex init.

This patch changes the probe() and remove() of the CODEC drivers as follows:-

 o Make CODEC driver a platform driver
 o Moved all struct snd_soc_codec list, mutex, etc initialiasation to core.
 o Removed all static codec pointers (drivers now support &gt; 1 codec dev)
 o snd_soc_register_pcms() now done by core.
 o snd_soc_register_dai() folded into snd_soc_register_codec().

CS4270 portions:
Acked-by: Timur Tabi &lt;timur@freescale.com&gt;

Some TLV320aic23 and Cirrus platform fixes.
Signed-off-by: Ryan Mallon &lt;ryan@bluewatersys.com&gt;

TI CODEC and OMAP fixes
Signed-off-by: Peter Ujfalusi &lt;peter.ujfalusi@nokia.com&gt;
Signed-off-by: Janusz Krzysztofik &lt;jkrzyszt@tis.icnet.pl&gt;
Signed-off-by: Jarkko Nikula &lt;jhnikula@gmail.com&gt;

Samsung platform and misc fixes :-
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Signed-off-by: Joonyoung Shim &lt;jy0922.shim@samsung.com&gt;
Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Reviewed-by: Jassi Brar &lt;jassi.brar@samsung.com&gt;
Signed-off-by: Seungwhan Youn &lt;sw.youn@samsung.com&gt;

MPC8610 and PPC fixes.
Signed-off-by: Timur Tabi &lt;timur@freescale.com&gt;

i.MX fixes and some core fixes.
Signed-off-by: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;

J4740 platform fixes:-
Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;

CC: Tony Lindgren &lt;tony@atomide.com&gt;
CC: Nicolas Ferre &lt;nicolas.ferre@atmel.com&gt;
CC: Kevin Hilman &lt;khilman@deeprootsystems.com&gt;
CC: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
CC: Atsushi Nemoto &lt;anemo@mba.ocn.ne.jp&gt;
CC: Kuninori Morimoto &lt;morimoto.kuninori@renesas.com&gt;
CC: Daniel Gloeckner &lt;dg@emlix.com&gt;
CC: Manuel Lauss &lt;mano@roarinelk.homelinux.net&gt;
CC: Mike Frysinger &lt;vapier.adi@gmail.com&gt;
CC: Arnaud Patard &lt;apatard@mandriva.com&gt;
CC: Wan ZongShun &lt;mcuos.com@gmail.com&gt;

Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch extends the ASoC API to allow sound cards to have more than one
CODEC and more than one platform DMA controller. This is achieved by dividing
some current ASoC structures that contain both driver data and device data into
structures that only either contain device data or driver data. i.e.

 struct snd_soc_codec    ---&gt;  struct snd_soc_codec (device data)
                          +-&gt;  struct snd_soc_codec_driver (driver data)

 struct snd_soc_platform ---&gt;  struct snd_soc_platform (device data)
                          +-&gt;  struct snd_soc_platform_driver (driver data)

 struct snd_soc_dai      ---&gt;  struct snd_soc_dai (device data)
                          +-&gt;  struct snd_soc_dai_driver (driver data)

 struct snd_soc_device   ---&gt;  deleted

This now allows ASoC to be more tightly aligned with the Linux driver model and
also means that every ASoC codec, platform and (platform) DAI is a kernel
device. ASoC component private data is now stored as device private data.

The ASoC sound card struct snd_soc_card has also been updated to store lists
of it's components rather than a pointer to a codec and platform. The PCM
runtime struct soc_pcm_runtime now has pointers to all its components.

This patch adds DAPM support for ASoC multi-component and removes struct
snd_soc_socdev from DAPM core. All DAPM calls are now made on a card, codec
or runtime PCM level basis rather than using snd_soc_socdev.

Other notable multi-component changes:-

 * Stream operations now de-reference less structures.
 * close_delayed work() now runs on a DAI basis rather than looping all DAIs
   in a card.
 * PM suspend()/resume() operations can now handle N CODECs and Platforms
   per sound card.
 * Added soc_bind_dai_link() to bind the component devices to the sound card.
 * Added soc_dai_link_probe() and soc_dai_link_remove() to probe and remove
   DAI link components.
 * sysfs entries can now be registered per component per card.
 * snd_soc_new_pcms() functionailty rolled into dai_link_probe().
 * snd_soc_register_codec() now does all the codec list and mutex init.

This patch changes the probe() and remove() of the CODEC drivers as follows:-

 o Make CODEC driver a platform driver
 o Moved all struct snd_soc_codec list, mutex, etc initialiasation to core.
 o Removed all static codec pointers (drivers now support &gt; 1 codec dev)
 o snd_soc_register_pcms() now done by core.
 o snd_soc_register_dai() folded into snd_soc_register_codec().

CS4270 portions:
Acked-by: Timur Tabi &lt;timur@freescale.com&gt;

Some TLV320aic23 and Cirrus platform fixes.
Signed-off-by: Ryan Mallon &lt;ryan@bluewatersys.com&gt;

TI CODEC and OMAP fixes
Signed-off-by: Peter Ujfalusi &lt;peter.ujfalusi@nokia.com&gt;
Signed-off-by: Janusz Krzysztofik &lt;jkrzyszt@tis.icnet.pl&gt;
Signed-off-by: Jarkko Nikula &lt;jhnikula@gmail.com&gt;

Samsung platform and misc fixes :-
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Signed-off-by: Joonyoung Shim &lt;jy0922.shim@samsung.com&gt;
Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Reviewed-by: Jassi Brar &lt;jassi.brar@samsung.com&gt;
Signed-off-by: Seungwhan Youn &lt;sw.youn@samsung.com&gt;

MPC8610 and PPC fixes.
Signed-off-by: Timur Tabi &lt;timur@freescale.com&gt;

i.MX fixes and some core fixes.
Signed-off-by: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;

J4740 platform fixes:-
Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;

CC: Tony Lindgren &lt;tony@atomide.com&gt;
CC: Nicolas Ferre &lt;nicolas.ferre@atmel.com&gt;
CC: Kevin Hilman &lt;khilman@deeprootsystems.com&gt;
CC: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
CC: Atsushi Nemoto &lt;anemo@mba.ocn.ne.jp&gt;
CC: Kuninori Morimoto &lt;morimoto.kuninori@renesas.com&gt;
CC: Daniel Gloeckner &lt;dg@emlix.com&gt;
CC: Manuel Lauss &lt;mano@roarinelk.homelinux.net&gt;
CC: Mike Frysinger &lt;vapier.adi@gmail.com&gt;
CC: Arnaud Patard &lt;apatard@mandriva.com&gt;
CC: Wan ZongShun &lt;mcuos.com@gmail.com&gt;

Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ASoC: Remove unneeded suspend bias managment from CODEC drivers</title>
<updated>2010-05-10T09:35:25+00:00</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2010-05-07T19:30:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=29e189c29d33d273424327ca4c1a74d8cdc04f48'/>
<id>29e189c29d33d273424327ca4c1a74d8cdc04f48</id>
<content type='text'>
The core will ensure that the device is in either STANDBY or OFF bias
before suspending, restoring the bias in the driver is unneeded. Some
drivers doing slightly more roundabout things have been left alone
for now.

Tested-by: Peter Ujfalusi &lt;peter.ujfalusi@nokia.com&gt;
Acked-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The core will ensure that the device is in either STANDBY or OFF bias
before suspending, restoring the bias in the driver is unneeded. Some
drivers doing slightly more roundabout things have been left alone
for now.

Tested-by: Peter Ujfalusi &lt;peter.ujfalusi@nokia.com&gt;
Acked-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ASoC: Add indirection for CODEC private data</title>
<updated>2010-04-17T01:46:22+00:00</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2010-04-14T06:35:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b2c812e22de88bb79c290c0e718280f10b64a48d'/>
<id>b2c812e22de88bb79c290c0e718280f10b64a48d</id>
<content type='text'>
One of the features of the multi CODEC work is that it embeds a struct
device in the CODEC to provide diagnostics via a sysfs class rather than
via the device tree, at which point it's much better to use the struct
device private data rather than having two places to store it. Provide
an accessor function to allow this change to be made more easily, and
update all the CODEC drivers are updated.

To ensure use of the accessor the private data structure member is
renamed, meaning that if code developed with older an older core that
still uses private_data is merged it will fail to build.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Acked-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
One of the features of the multi CODEC work is that it embeds a struct
device in the CODEC to provide diagnostics via a sysfs class rather than
via the device tree, at which point it's much better to use the struct
device private data rather than having two places to store it. Provide
an accessor function to allow this change to be made more easily, and
update all the CODEC drivers are updated.

To ensure use of the accessor the private data structure member is
renamed, meaning that if code developed with older an older core that
still uses private_data is merged it will fail to build.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Acked-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bitops: rename for_each_bit() to for_each_set_bit()</title>
<updated>2010-03-06T19:26:23+00:00</updated>
<author>
<name>Akinobu Mita</name>
<email>akinobu.mita@gmail.com</email>
</author>
<published>2010-03-05T21:41:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=984b3f5746ed2cde3d184651dabf26980f2b66e5'/>
<id>984b3f5746ed2cde3d184651dabf26980f2b66e5</id>
<content type='text'>
Rename for_each_bit to for_each_set_bit in the kernel source tree.  To
permit for_each_clear_bit(), should that ever be added.

The patch includes a macro to map the old for_each_bit() onto the new
for_each_set_bit().  This is a (very) temporary thing to ease the migration.

[akpm@linux-foundation.org: add temporary for_each_bit()]
Suggested-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Suggested-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Akinobu Mita &lt;akinobu.mita@gmail.com&gt;
Cc: "David S. Miller" &lt;davem@davemloft.net&gt;
Cc: Russell King &lt;rmk@arm.linux.org.uk&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Cc: Artem Bityutskiy &lt;dedekind@infradead.org&gt;
Cc: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rename for_each_bit to for_each_set_bit in the kernel source tree.  To
permit for_each_clear_bit(), should that ever be added.

The patch includes a macro to map the old for_each_bit() onto the new
for_each_set_bit().  This is a (very) temporary thing to ease the migration.

[akpm@linux-foundation.org: add temporary for_each_bit()]
Suggested-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Suggested-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Akinobu Mita &lt;akinobu.mita@gmail.com&gt;
Cc: "David S. Miller" &lt;davem@davemloft.net&gt;
Cc: Russell King &lt;rmk@arm.linux.org.uk&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Cc: Artem Bityutskiy &lt;dedekind@infradead.org&gt;
Cc: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
