mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
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:
parent
0c21e3a68a
commit
90d7b490c9
2 changed files with 2 additions and 2 deletions
|
|
@ -67,7 +67,7 @@ endif
|
|||
|
||||
LINUX_INC += -Iinclude/linux
|
||||
|
||||
INCS := $(COMMON_INC) \
|
||||
INCS += $(COMMON_INC) \
|
||||
$(UAPI_INC)
|
||||
|
||||
EXTRA_CFLAGS += $(INCS)
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue