Skip to content
Unverified Commit 2569231d authored by Camel Guo's avatar Camel Guo Committed by Mark Brown
Browse files

ASoC: tlv320adcx140: Fix accessing uninitialized adcx140->dev



In adcx140_i2c_probe, adcx140->dev is accessed before its
initialization. This commit fixes this bug.

Fixes: 689c7655 ("ASoC: tlv320adcx140: Add the tlv320adcx140 codec driver family")
Acked-by: default avatarDan Murphy <dmurphy@ti.com>
Signed-off-by: default avatarCamel Guo <camel.guo@axis.com>
Link: https://lore.kernel.org/r/20200901135736.32036-1-camel.guo@axis.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent f5a2cda4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment