ASoC: Fix WM8753 DAIs unregistering
authorPaul Fertser <fercerpav@gmail.com>
Sun, 15 Feb 2009 23:49:41 +0000 (02:49 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 17 Feb 2009 14:29:54 +0000 (14:29 +0000)
commit31b59cf9cebb5bb675f49fe44814bbb7270374cc
treed2118bf757e2f54fe4c0e848bf02558c54d30a19
parentbf3dbe5c8c4b85f98c36d35432efa6573b75e6d3
ASoC: Fix WM8753 DAIs unregistering

WM8753 uses a tricky way to switch DAIs "on the fly", for that it
registers 2 dummy DAIs and substitutes them depending on mixer control.

List element of registered dummy DAIs should be preserved to allow
unregistering of DAIs on module unload.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8753.c