summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2015-07-08 20:47:44 +0200
committerMark Brown <broonie@kernel.org>2015-07-08 21:05:04 +0200
commitabd31b32dde4683df6fd0439caa314aafd751698 (patch)
tree88bf97534fc24cc2d9aa1d7f70a7ca7d8439862d /include/sound
parentASoC: Prevent components from being bound to multiple cards (diff)
downloadlinux-abd31b32dde4683df6fd0439caa314aafd751698.tar.xz
linux-abd31b32dde4683df6fd0439caa314aafd751698.zip
ASoC: Use card field to indicate whether a component is bound
Use the card field of a component to indicate whether it is bound or not. This makes a certain sense given that the field contains the card the component is bound to and a component can only be bound to one card at a time. And it also requires to unset the card field when the component is unbound from the card. This makes the probded flag redundant and it can be removed. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 93df8bf9d54a..59635a12c3be 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -758,7 +758,6 @@ struct snd_soc_component {
unsigned int ignore_pmdown_time:1; /* pmdown_time is ignored at stop */
unsigned int registered_as_component:1;
- unsigned int probed:1;
struct list_head list;