Re: [PATCH] ASoC: tlv320adcx140: Fix accessing uninitialized abcx140->dev

2020-09-01 Thread Dan Murphy
Camel On 9/1/20 2:27 AM, Camel Guo wrote: From: Camel Guo in adcx140_i2c_probe, adcx140->dev is accessed before its initialization. This commit fixes this bug. s/abc/adc in the subject and s/in/In Also please add a Fixes tag. Otherwise Acked-by: Dan Murphy

[PATCH] ASoC: tlv320adcx140: Fix accessing uninitialized abcx140->dev

2020-09-01 Thread Camel Guo
From: Camel Guo in adcx140_i2c_probe, adcx140->dev is accessed before its initialization. This commit fixes this bug. Signed-off-by: Camel Guo --- sound/soc/codecs/tlv320adcx140.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sound/soc/codecs/tlv320adcx140.c b/sound/so