From: Daniel Mack Date: Fri, 7 Jun 2013 11:53:04 +0000 (+0200) Subject: ASoC: codecs: adau1701: factor out firmware reset X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~15^2~3^2~24^2~32^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f724ba3b07aa5a012b7b0be323484195b5026282;p=pandora-kernel.git ASoC: codecs: adau1701: factor out firmware reset Some runtime-determined constraints might need to be satisfied prior to firmware loading, so the actual download and releasing the device from reset has to be postponed. Factor it out first, so we have everything at one place. This also changes the behaviour in a way that adau1701_i2c_probe() will assert the reset line, and wait for the codec probe to release it. Signed-off-by: Daniel Mack Acked-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed