Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1344616 > unrolled thread
| Started by | Shuah Khan <shuahkh@osg.samsung.com> |
|---|---|
| First post | 2016-02-26 20:40 +0100 |
| Last post | 2016-02-26 20:40 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH v3 02/22] uapi/media.h: Declare interface types for ALSA Shuah Khan <shuahkh@osg.samsung.com> - 2016-02-26 20:40 +0100
Re: [PATCH v3 02/22] uapi/media.h: Declare interface types for ALSA Takashi Iwai <tiwai@suse.de> - 2016-02-26 20:40 +0100
| From | Shuah Khan <shuahkh@osg.samsung.com> |
|---|---|
| Date | 2016-02-26 20:40 +0100 |
| Subject | Re: [PATCH v3 02/22] uapi/media.h: Declare interface types for ALSA |
| Message-ID | <r6wp4-83i-9@gated-at.bofh.it> |
On 02/17/2016 05:21 AM, Mauro Carvalho Chehab wrote:
> Em Thu, 11 Feb 2016 16:41:18 -0700
> Shuah Khan <shuahkh@osg.samsung.com> escreveu:
>
>> Declare the interface types to be used on alsa for
>> the new G_TOPOLOGY ioctl.
>>
>> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
>> ---
>> drivers/media/media-entity.c | 16 ++++++++++++++++
>> include/uapi/linux/media.h | 10 ++++++++++
>> 2 files changed, 26 insertions(+)
>>
>> diff --git a/drivers/media/media-entity.c b/drivers/media/media-entity.c
>> index f2e4360..6179543 100644
>> --- a/drivers/media/media-entity.c
>> +++ b/drivers/media/media-entity.c
>> @@ -65,6 +65,22 @@ static inline const char *intf_type(struct media_interface *intf)
>> return "v4l2-subdev";
>> case MEDIA_INTF_T_V4L_SWRADIO:
>> return "swradio";
>> + case MEDIA_INTF_T_ALSA_PCM_CAPTURE:
>> + return "pcm-capture";
>> + case MEDIA_INTF_T_ALSA_PCM_PLAYBACK:
>> + return "pcm-playback";
>> + case MEDIA_INTF_T_ALSA_CONTROL:
>> + return "alsa-control";
>> + case MEDIA_INTF_T_ALSA_COMPRESS:
>> + return "compress";
>> + case MEDIA_INTF_T_ALSA_RAWMIDI:
>> + return "rawmidi";
>> + case MEDIA_INTF_T_ALSA_HWDEP:
>> + return "hwdep";
>> + case MEDIA_INTF_T_ALSA_SEQUENCER:
>> + return "sequencer";
>> + case MEDIA_INTF_T_ALSA_TIMER:
>> + return "timer";
>> default:
>> return "unknown-intf";
>> }
>> diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h
>> index c9eb42a..3cc0366 100644
>> --- a/include/uapi/linux/media.h
>> +++ b/include/uapi/linux/media.h
>> @@ -265,6 +265,7 @@ struct media_links_enum {
>>
>> #define MEDIA_INTF_T_DVB_BASE 0x00000100
>> #define MEDIA_INTF_T_V4L_BASE 0x00000200
>> +#define MEDIA_INTF_T_ALSA_BASE 0x00000300
>>
>> /* Interface types */
>>
>> @@ -280,6 +281,15 @@ struct media_links_enum {
>> #define MEDIA_INTF_T_V4L_SUBDEV (MEDIA_INTF_T_V4L_BASE + 3)
>> #define MEDIA_INTF_T_V4L_SWRADIO (MEDIA_INTF_T_V4L_BASE + 4)
>>
>> +#define MEDIA_INTF_T_ALSA_PCM_CAPTURE (MEDIA_INTF_T_ALSA_BASE)
>> +#define MEDIA_INTF_T_ALSA_PCM_PLAYBACK (MEDIA_INTF_T_ALSA_BASE + 1)
>> +#define MEDIA_INTF_T_ALSA_CONTROL (MEDIA_INTF_T_ALSA_BASE + 2)
>> +#define MEDIA_INTF_T_ALSA_COMPRESS (MEDIA_INTF_T_ALSA_BASE + 3)
>> +#define MEDIA_INTF_T_ALSA_RAWMIDI (MEDIA_INTF_T_ALSA_BASE + 4)
>> +#define MEDIA_INTF_T_ALSA_HWDEP (MEDIA_INTF_T_ALSA_BASE + 5)
>> +#define MEDIA_INTF_T_ALSA_SEQUENCER (MEDIA_INTF_T_ALSA_BASE + 6)
>> +#define MEDIA_INTF_T_ALSA_TIMER (MEDIA_INTF_T_ALSA_BASE + 7)
>> +
>> /*
>> * MC next gen API definitions
>> *
>
> Looks OK to me.
>
> Takashi,
>
> If this is OK for you too, would you mind acking it?
>
Hi Takashi,
Are you okay with this patch? Could you please
Ack it.
thanks,
-- Shuah
--
Shuah Khan
Sr. Linux Kernel Developer
Open Source Innovation Group
Samsung Research America (Silicon Valley)
shuahkh@osg.samsung.com | (970) 217-8978
[toc] | [next] | [standalone]
| From | Takashi Iwai <tiwai@suse.de> |
|---|---|
| Date | 2016-02-26 20:40 +0100 |
| Message-ID | <r6wp4-83i-17@gated-at.bofh.it> |
| In reply to | #1344616 |
On Fri, 26 Feb 2016 20:30:03 +0100,
Shuah Khan wrote:
>
> On 02/17/2016 05:21 AM, Mauro Carvalho Chehab wrote:
> > Em Thu, 11 Feb 2016 16:41:18 -0700
> > Shuah Khan <shuahkh@osg.samsung.com> escreveu:
> >
> >> Declare the interface types to be used on alsa for
> >> the new G_TOPOLOGY ioctl.
> >>
> >> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
> >> ---
> >> drivers/media/media-entity.c | 16 ++++++++++++++++
> >> include/uapi/linux/media.h | 10 ++++++++++
> >> 2 files changed, 26 insertions(+)
> >>
> >> diff --git a/drivers/media/media-entity.c b/drivers/media/media-entity.c
> >> index f2e4360..6179543 100644
> >> --- a/drivers/media/media-entity.c
> >> +++ b/drivers/media/media-entity.c
> >> @@ -65,6 +65,22 @@ static inline const char *intf_type(struct media_interface *intf)
> >> return "v4l2-subdev";
> >> case MEDIA_INTF_T_V4L_SWRADIO:
> >> return "swradio";
> >> + case MEDIA_INTF_T_ALSA_PCM_CAPTURE:
> >> + return "pcm-capture";
> >> + case MEDIA_INTF_T_ALSA_PCM_PLAYBACK:
> >> + return "pcm-playback";
> >> + case MEDIA_INTF_T_ALSA_CONTROL:
> >> + return "alsa-control";
> >> + case MEDIA_INTF_T_ALSA_COMPRESS:
> >> + return "compress";
> >> + case MEDIA_INTF_T_ALSA_RAWMIDI:
> >> + return "rawmidi";
> >> + case MEDIA_INTF_T_ALSA_HWDEP:
> >> + return "hwdep";
> >> + case MEDIA_INTF_T_ALSA_SEQUENCER:
> >> + return "sequencer";
> >> + case MEDIA_INTF_T_ALSA_TIMER:
> >> + return "timer";
> >> default:
> >> return "unknown-intf";
> >> }
> >> diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h
> >> index c9eb42a..3cc0366 100644
> >> --- a/include/uapi/linux/media.h
> >> +++ b/include/uapi/linux/media.h
> >> @@ -265,6 +265,7 @@ struct media_links_enum {
> >>
> >> #define MEDIA_INTF_T_DVB_BASE 0x00000100
> >> #define MEDIA_INTF_T_V4L_BASE 0x00000200
> >> +#define MEDIA_INTF_T_ALSA_BASE 0x00000300
> >>
> >> /* Interface types */
> >>
> >> @@ -280,6 +281,15 @@ struct media_links_enum {
> >> #define MEDIA_INTF_T_V4L_SUBDEV (MEDIA_INTF_T_V4L_BASE + 3)
> >> #define MEDIA_INTF_T_V4L_SWRADIO (MEDIA_INTF_T_V4L_BASE + 4)
> >>
> >> +#define MEDIA_INTF_T_ALSA_PCM_CAPTURE (MEDIA_INTF_T_ALSA_BASE)
> >> +#define MEDIA_INTF_T_ALSA_PCM_PLAYBACK (MEDIA_INTF_T_ALSA_BASE + 1)
> >> +#define MEDIA_INTF_T_ALSA_CONTROL (MEDIA_INTF_T_ALSA_BASE + 2)
> >> +#define MEDIA_INTF_T_ALSA_COMPRESS (MEDIA_INTF_T_ALSA_BASE + 3)
> >> +#define MEDIA_INTF_T_ALSA_RAWMIDI (MEDIA_INTF_T_ALSA_BASE + 4)
> >> +#define MEDIA_INTF_T_ALSA_HWDEP (MEDIA_INTF_T_ALSA_BASE + 5)
> >> +#define MEDIA_INTF_T_ALSA_SEQUENCER (MEDIA_INTF_T_ALSA_BASE + 6)
> >> +#define MEDIA_INTF_T_ALSA_TIMER (MEDIA_INTF_T_ALSA_BASE + 7)
> >> +
> >> /*
> >> * MC next gen API definitions
> >> *
> >
> > Looks OK to me.
> >
> > Takashi,
> >
> > If this is OK for you too, would you mind acking it?
> >
>
> Hi Takashi,
>
> Are you okay with this patch? Could you please
> Ack it.
Sorry for the late response.
Yes, this definition looks OK to me.
Acked-by: Takashi Iwai <tiwai@suse.de>
thanks,
Takashi
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web