]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: Use card field to indicate whether a component is bound
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 8 Jul 2015 18:47:44 +0000 (20:47 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 8 Jul 2015 19:05:04 +0000 (20:05 +0100)
commitabd31b32dde4683df6fd0439caa314aafd751698
tree88bf97534fc24cc2d9aa1d7f70a7ca7d8439862d
parent1b7c12316982f74a5b8e7704c24cf5524d0723a3
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>
include/sound/soc.h
sound/soc/soc-core.c