From: Lars-Peter Clausen Date: Tue, 18 Nov 2014 18:45:52 +0000 (+0100) Subject: ASoC: Add helper functions for deferred regmap setup X-Git-Tag: omap-for-v3.20/drop-legacy-3517~123^2~20^2~23^2~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20feb881988cdf5f53304c355ae8ee3bf82e80ec;p=pandora-kernel.git ASoC: Add helper functions for deferred regmap setup Some drivers (most notably the AC'97 drivers) do not have access to their regmap struct when the component/codec is registered. For those drivers the automatic regmap setup will not work and needs to be done manually, typically from the component/CODEC drivers probe callback. This patch adds a set of helper function to handle deferred regmap initialization as well as early regmap tear-down. Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed