commit | 2569231d71dff82cfd6e82ab3871776f72ec53b6 | [log] [tgz] |
---|---|---|
author | Camel Guo <camelg@axis.com> | Tue Sep 01 15:57:35 2020 +0200 |
committer | Mark Brown <broonie@kernel.org> | Tue Sep 01 16:04:40 2020 +0100 |
tree | b273a8352d25f32315f3b46e1403b348af96692a | |
parent | f5a2cda4f1db89776b64c4f0f2c2ac609527ac70 [diff] |
ASoC: tlv320adcx140: Fix accessing uninitialized adcx140->dev In adcx140_i2c_probe, adcx140->dev is accessed before its initialization. This commit fixes this bug. Fixes: 689c7655b50c ("ASoC: tlv320adcx140: Add the tlv320adcx140 codec driver family") Acked-by: Dan Murphy <dmurphy@ti.com> Signed-off-by: Camel Guo <camel.guo@axis.com> Link: https://lore.kernel.org/r/20200901135736.32036-1-camel.guo@axis.com Signed-off-by: Mark Brown <broonie@kernel.org>