summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ssm2602-i2c.c
diff options
context:
space:
mode:
authorSergey Kiselev <sergey.kiselev@intel.com>2015-06-05 20:55:27 +0200
committerMark Brown <broonie@kernel.org>2015-07-07 13:53:57 +0200
commit6702dfcc571d962df499f7466f54e07d044e6cd1 (patch)
treebb40970ac06e0169b4fbe5b5327beddfb1fd2879 /sound/soc/codecs/ssm2602-i2c.c
parentLinux 4.2-rc1 (diff)
downloadlinux-6702dfcc571d962df499f7466f54e07d044e6cd1.tar.xz
linux-6702dfcc571d962df499f7466f54e07d044e6cd1.zip
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>
Diffstat (limited to 'sound/soc/codecs/ssm2602-i2c.c')
0 files changed, 0 insertions, 0 deletions