Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10835761imu; Thu, 6 Dec 2018 07:31:25 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vl3CGC2V0sFOClOCjUceRVWucFCvZBlCyytRTn71DtEo3qhqh9cdyJKkWzVcGtDMfzsGeY X-Received: by 2002:a17:902:6bc9:: with SMTP id m9mr9459553plt.173.1544110285714; Thu, 06 Dec 2018 07:31:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544110285; cv=none; d=google.com; s=arc-20160816; b=IKv+U2Q7ghyGb4NcyX9f/Yn44HQJmvJW2N44o55ie52Ag3nsc93+mgW+3qBym+H3i/ DWQRvl4OOKSz5dR1qte5CzUm95KgFOk6DPAhIyZeqzAdzTGzyl7Z4GxY36R1+o3zyKle Lvoo/veTRe/tqGA2pkiqJ2hfj1tmxxl8mwaXV8Kt3i0OuC2+1M9PKNWE0cmpam4rte4G 5HQ4RCPsPuiZAiU5wLuyyenPWsy0Mat1GKy2PD9tZprTxXw+fufjQsoakuOxsmJG2bgy OPl7XAGxbuwGH6rlxbdX78ndapG0JxbKtxi58GzExJ/shp+g0VpSuZBJ3oPjOCoVhRqX tLRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=HazhuOM/mffmuLYyLL2D6yj+z7PgBYcvWwc+TnSzVTI=; b=IVWRJjrKLas96eG9AnWniGk3EC2pwpcNpwxmpcOq6VAOyP/hwDHNexruJLsV/PNStp bC9IRErcSnuJzUN/dSTO3/E4TrRvHG1WfD+/+DZ1vCztGflfn7R3s1w8CIdKZMIcXGht 62OqmJKu0re1rtH0QTmiHnyGvwOgyY2VMJYBR2wmWHHnndSsZE0Qp9dl7ochHq46F0zF vRniLjmc48VQfaap5Ehw9pp8521fezvqCIyzcecscBlWNGMlrMscA7SAITL+FBgtPuhC kJeLL/STLJRRsvD4Lb7d9ndP0g2f+EZvANbTk+rEtL9Okf6gcg/DnSXgnZle5bPpio3V VbrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qKnE2guR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 4si466432pfg.280.2018.12.06.07.30.49; Thu, 06 Dec 2018 07:31:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qKnE2guR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726029AbeLFP3Q (ORCPT + 99 others); Thu, 6 Dec 2018 10:29:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:41264 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725862AbeLFP3Q (ORCPT ); Thu, 6 Dec 2018 10:29:16 -0500 Received: from [192.168.1.112] (c-24-9-64-241.hsd1.co.comcast.net [24.9.64.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1B7DE20878; Thu, 6 Dec 2018 15:29:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544110155; bh=1NFOhZvaIk9JpC9e78wXlet8uKg3wctLID0Ajn1928g=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=qKnE2guRFUgBv0YRtoscuv5RdN2Jw3QJc7RtKXN/Yw6ErgAQrFMdJbRPkklgTQjBM oyMeY/K4X7oqDtIJY6CEeu/cNjVW+Xp3x6X8Pq7QMarQUu9Hvp0E1j05pjZ/SYIVke 6ThS4PlKinfM470Dn8GwWAXTtBPertw0/z/DRtKM= Subject: Re: [RFC PATCH v8 3/4] media: media.h: Enable ALSA MEDIA_INTF_T* interface types To: Hans Verkuil , mchehab@kernel.org, perex@perex.cz, tiwai@suse.com Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, shuah References: <0f47952fd84fd275646e3c9a18e208ced08dd6bb.1541109584.git.shuah@kernel.org> <76e1a986-fb47-869d-ee7e-8c9b919718cb@xs4all.nl> From: shuah Message-ID: Date: Thu, 6 Dec 2018 08:29:14 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <76e1a986-fb47-869d-ee7e-8c9b919718cb@xs4all.nl> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Hans, On 11/20/18 4:22 AM, Hans Verkuil wrote: > On 11/02/2018 01:31 AM, shuah@kernel.org wrote: >> From: Shuah Khan >> >> Move ALSA MEDIA_INTF_T* interface types back into __KERNEL__ scope >> to get ready for adding ALSA support to the media controller. >> >> Signed-off-by: Shuah Khan >> --- >> include/uapi/linux/media.h | 25 ++++++++++--------------- >> 1 file changed, 10 insertions(+), 15 deletions(-) >> >> diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h >> index 36f76e777ef9..07be07263597 100644 >> --- a/include/uapi/linux/media.h >> +++ b/include/uapi/linux/media.h >> @@ -262,6 +262,16 @@ struct media_links_enum { >> #define MEDIA_INTF_T_V4L_SWRADIO (MEDIA_INTF_T_V4L_BASE + 4) >> #define MEDIA_INTF_T_V4L_TOUCH (MEDIA_INTF_T_V4L_BASE + 5) >> >> +#define MEDIA_INTF_T_ALSA_BASE 0x00000300 >> +#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) >> + > > I would only enable those defines that you need for the next patch. > Good plan. I fixed this to move just the ones I need for this work. thanks, -- Shuah