From: Lars-Peter Clausen Date: Tue, 19 Aug 2014 13:51:25 +0000 (+0200) Subject: ASoC: Cleanup DAI module reference counting X-Git-Tag: fixes-against-v3.18-rc2~128^2~8^2~12^2~7^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffbd7dd72bd3ad9bcae9190788c858e57f1e8e4e;p=pandora-kernel.git ASoC: Cleanup DAI module reference counting Currently when a DAI has no CODEC associated to it the reference on the module containing the DAI driver is increased when the DAI is probed and decrease when the DAI is removed. For DAIs with CODECs the module reference count was already incremented when the CODEC is probed. Now that all components have their module reference count incremented when they are probed and all DAIs do have a component it is possible to remove the module reference counting on DAI probe and removal. Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed