ASoC: ak4642: Add default return value in ak4642_modinit
PATCH v2 1/1 ASoC: ak4642: Add default return value in ak4642_modinit
If ak4642 driver was compiled without I2C configs, ak4642_modinit return value will become un-stable. This patch modify this bug
Reported-by Magnus Damm <[email protected]>
Signed-off-by Kuninori Morimoto <[email protected]>
---
v1 -> v2
o modify Magnus's email address
So sorry ...
sound/soc/codecs/ak4642.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/codecs/ak4642.c +1 -1
@@ -470,7 +470,7 @@ EXPORT_SYMBOL_GPL(soc_codec_dev_ak4642);static int __init ak4642_modinit (void ) { -int ret; +int ret =0 ;#if defined(CONFIG_I2C ) || defined(CONFIG_I2C_MODULE ) ret =i2c_add_driver (&ak4642_i2c_driver);#endif
Signature · 1 line
1.6.3.3
Dear Mark
Quoted 8 lines
Reported-by Magnus Damm <[email protected]>Signed-off-by Kuninori Morimoto <[email protected]>---
v1 -> v2o modify Magnus's email address
So sorry ...
I forgot add Mark's address in To:
I need deep breath now...
Best regards
--
Kuninori Morimoto
Mark Brown
AppliedQuoted 6 lines · Kuninori Morimoto
If ak4642 driver was compiled without I2C configs,
ak4642_modinitreturn value will become un-stable. This patch modify this bugReported-by Magnus Damm <[email protected]>Signed-off-by Kuninori Morimoto <[email protected]>
Applied, thanks.