summaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2015-07-08 20:47:43 +0200
committerMark Brown <broonie@kernel.org>2015-07-08 20:05:04 +0100
commit1b7c12316982f74a5b8e7704c24cf5524d0723a3 (patch)
tree0ea498ff7130f099881cfa8043a52e56aece0956 /include/sound/soc.h
parent6e78108bda78adbb2d4ef55ec60a388aba975797 (diff)
downloadop-kernel-dev-1b7c12316982f74a5b8e7704c24cf5524d0723a3.zip
op-kernel-dev-1b7c12316982f74a5b8e7704c24cf5524d0723a3.tar.gz
ASoC: Prevent components from being bound to multiple cards
A component can only be bound to a single card at a time. Binding it to card while it is already bound to another will result in undefined behavior. As the undefined behavior might only manifest itself later on it is not necessarily always straight forward to find the cause. To prevent this add a check that refuses to bind a component to multiple cards as well as prints a error describing the problem. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud