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

Commit 82410a98 authored by Shuah Khan's avatar Shuah Khan Committed by Mauro Carvalho Chehab
Browse files

[media] media: au8522 change to create MC pad for ALSA Audio Out



Add new pad for ALSA Audio Out to au8522_media_pads.

Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 4c4ada73
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -94,6 +94,7 @@ enum au8522_media_pads {
	AU8522_PAD_INPUT,
	AU8522_PAD_VID_OUT,
	AU8522_PAD_VBI_OUT,
	AU8522_PAD_AUDIO_OUT,

	AU8522_NUM_PADS
};
+1 −0
Original line number Diff line number Diff line
@@ -766,6 +766,7 @@ static int au8522_probe(struct i2c_client *client,
	state->pads[AU8522_PAD_INPUT].flags = MEDIA_PAD_FL_SINK;
	state->pads[AU8522_PAD_VID_OUT].flags = MEDIA_PAD_FL_SOURCE;
	state->pads[AU8522_PAD_VBI_OUT].flags = MEDIA_PAD_FL_SOURCE;
	state->pads[AU8522_PAD_AUDIO_OUT].flags = MEDIA_PAD_FL_SOURCE;
	sd->entity.function = MEDIA_ENT_F_ATV_DECODER;

	ret = media_entity_pads_init(&sd->entity, ARRAY_SIZE(state->pads),