Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 90d7b490 authored by Sudheer Papothi's avatar Sudheer Papothi
Browse files

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: default avatarSudheer Papothi <spapothi@codeaurora.org>
parent 0c21e3a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@ endif

LINUX_INC +=	-Iinclude/linux

INCS :=	$(COMMON_INC) \
INCS +=	$(COMMON_INC) \
	$(UAPI_INC)

EXTRA_CFLAGS += $(INCS)
+1 −1
Original line number Diff line number Diff line
@@ -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,