summaryrefslogtreecommitdiff
path: root/packages/MSDOS
AgeCommit message (Expand)AuthorFilesLines
2009-05-24New upstream release 15.7a, fixing CVE-2009-014815.7a-1Tobias Klauser6-3/+6
2006-11-13Initial import15.6-2Tobias Klauser6-0/+113
input type='submit' value='reload'/>
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>2016-11-29 15:44:38 +0000
committerMark Brown <broonie@kernel.org>2016-11-30 17:16:09 +0000
commit1b4d9c22191583ef1fb7433417b2ceb2a608d887 (patch)
tree2f3a9d88142e5bc4771062e8b8be072c2e45c6c7 /sound
parent1001354ca34179f3db924eb66672442a173147dc (diff)
ASoC: core: Add component pin control functions
It's often the case that a codec driver will need to control its own pins. However, if a name_prefix has been applied to this codec it must be included in the name passed to any of the snd_soc_dapm_x_pin() functions. The behaviour of the existing pin control functions is reasonable, since you may want to search for a fully-specified name within the scope of an entire card. This means that we can't apply the prefix in these functions because it will break card-scope searches. Constructing a prefixed string "manually" in codec drivers leads to a lot of repetition of the same code. To make this tidier in codec drivers this patch adds a new set of equivalent functions that take a struct snd_soc_component instead of a dapm context and automatically add the component's name_prefix to the given name. This makes it a simple change in codec drivers to be prefix-safe. The new functions are not quite trivial enough to be inlines and the compiler won't be able to compile-away any part of them. Although it looks somewhat inefficient to have to allocate a temporary buffer and combine strings, the current design of the widget list doesn't lend itself to a more optimized implementation - it's a single list of all widgets on a card and is searched linearly for a matching string. As pin state changes are generally low-frequency events it's unlikely to be a significant issue - at least not enough to rewrite the widget list handling just for this. Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
dp_helper.c drm: Extract&Document drm_irq.h drm/doc: document all the properties in drm_mode_config drm/drm-kms.rst: Remove unused drm_fourcc.h include directive drm/doc: Add kerneldoc for @index drm: Unexport drm_connector_unregister_all() drm/sun4i: Remove redundant call to drm_connector_unregister_all() drm/ttm: Delete an unnecessary check before the function call "ttm_tt_destroy" ...
Diffstat (limited to 'Documentation/translations')