tlv320aic32x4: delay i2c access by 1 ms after hardware reset
authorPeter Seiderer <ps.report@gmx.net>
Mon, 11 Feb 2019 21:06:30 +0000 (22:06 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 12 Feb 2019 14:15:00 +0000 (14:15 +0000)
commit674f9abd094552dc297a2afd0cb72d30aec539a3
treef2d6f61ad74c1b975a1763602c67c144b748c2fc
parentfc23af99e47612042964ace44121872158ae834d
tlv320aic32x4: delay i2c access by 1 ms after hardware reset

As stated in 'TLV320AIC3254 Application Reference Guide' ([1]):

  3.2 Device Startup Lockout Times
    After the TLV320AIC3254 initializes through hardware reset at power-up
    or software reset, the internal registers initialize to default values.
    This initialization takes place within 1ms after pulling the RESET
    signal high. During this initialization phase, no register-read or
    register-write operation should be performed on ADC or DAC coefficient
    buffers. Also, no block within the codec should be powered up during
    the initialization phase.

[1] http://www.ti.com/lit/an/slaa408a/slaa408a.pdf

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tlv320aic32x4.c