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 <spapothi@codeaurora.org>
This commit is contained in:
Sudheer Papothi 2018-02-22 14:42:41 +05:30
commit 90d7b490c9
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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,