diff options
author | Wolfram Sang <[email protected]> | 2011-07-18 17:53:04 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2011-07-19 16:19:30 +0100 |
commit | 09bddc8eb26eeb976efcfde9569b5ad1d9b77574 (patch) | |
tree | 795ebce3045c59d304e18af52ac54745e0c5d727 | |
parent | e94a4062c88e5245fef91ceac86788ae336f755b (diff) |
ASoC: sgtl5000: guide user when regulator support is needed
Print a hint when the user has a setup where CONFIG_REGULATOR is really
needed to make the driver work.
Signed-off-by: Wolfram Sang <[email protected]>
Tested-by: Dong Aisheng <[email protected]>
Tested-by: Shawn Guo <[email protected]>
Acked-by: Liam Girdwood <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
-rw-r--r-- | sound/soc/codecs/sgtl5000.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c index 17af336892a7..76258f2a2ffb 100644 --- a/sound/soc/codecs/sgtl5000.c +++ b/sound/soc/codecs/sgtl5000.c @@ -907,6 +907,7 @@ static int ldo_regulator_register(struct snd_soc_codec *codec, struct regulator_init_data *init_data, int voltage) { + dev_err(codec->dev, "this setup needs regulator support in the kernel\n"); return -EINVAL; } |