From: Sergey Kiselev Date: Fri, 5 Jun 2015 18:55:27 +0000 (-0700) Subject: ASoC: wm8731: initialize the hardware when loading the codec driver X-Git-Tag: omap-for-v4.3/fixes-rc1~91^2~7^2~2^6~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6702dfcc571d962df499f7466f54e07d044e6cd1;p=pandora-kernel.git ASoC: wm8731: initialize the hardware when loading the codec driver This patch moves the requesting supplies, hardware reset and initialization from wm8731_probe to wm8731_i2c_probe and wm8731_spi_probe. So that the codec hardware is initialized when loading the codec driver, and not when loading the machine driver. This avoids unnecesary hardware resets and re-initializations when re-loading the machine driver. Signed-off-by: Sergey Kiselev Signed-off-by: Mark Brown --- Reading git-diff-tree failed