Searched hist:"6702 dfcc571d962df499f7466f54e07d044e6cd1" (Results 1 – 1 of 1) sorted by relevance
/linux/sound/soc/codecs/ |
H A D | wm8731.c | diff 6702dfcc571d962df499f7466f54e07d044e6cd1 Fri Jun 05 20:55:27 CEST 2015 Sergey Kiselev <sergey.kiselev@intel.com> 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 <sergey.kiselev@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
|