Browse Source

ASoC: AQT1000: Fix return value and add config to include files

Fix return value in aqt_codec_info_create_codec_entry function
to return proper value and add target config to include files

Change-Id: I063e199b1bf0e672b5afc20ed7de8447eed35dd4
Signed-off-by: Sudheer Papothi <[email protected]>
Sudheer Papothi 7 years ago
parent
commit
90d7b490c9
2 changed files with 2 additions and 2 deletions
  1. 1 1
      asoc/codecs/aqt1000/Kbuild
  2. 1 1
      asoc/codecs/aqt1000/aqt1000.c

+ 1 - 1
asoc/codecs/aqt1000/Kbuild

@@ -67,7 +67,7 @@ endif
 
 LINUX_INC +=	-Iinclude/linux
 
-INCS :=	$(COMMON_INC) \
+INCS +=	$(COMMON_INC) \
 	$(UAPI_INC)
 
 EXTRA_CFLAGS += $(INCS)

+ 1 - 1
asoc/codecs/aqt1000/aqt1000.c

@@ -3194,7 +3194,7 @@ int aqt_codec_info_create_codec_entry(struct snd_info_entry *codec_root,
 	aqt = snd_soc_codec_get_drvdata(codec);
 	if (!aqt) {
 		dev_dbg(codec->dev, "%s: aqt is NULL\n", __func__);
-		return _EINVAL;
+		return -EINVAL;
 	}
 	card = codec->component.card;
 	aqt->entry = snd_info_create_subdir(codec_root->module,