From patchwork Sun Apr 24 21:08:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Dimitrov X-Patchwork-Id: 8921591 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 738D99F1C1 for ; Sun, 24 Apr 2016 21:10:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E9DAD20222 for ; Sun, 24 Apr 2016 21:10:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E51222022D for ; Sun, 24 Apr 2016 21:10:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753324AbcDXVKb (ORCPT ); Sun, 24 Apr 2016 17:10:31 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:35726 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753308AbcDXVK3 (ORCPT ); Sun, 24 Apr 2016 17:10:29 -0400 Received: by mail-wm0-f66.google.com with SMTP id e201so17587521wme.2 for ; Sun, 24 Apr 2016 14:10:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=znm5VMThgGMVyouVZbk9CcvVhea8McWOojQc7RWUgfY=; b=yoGtdjx7GK3ew78yDWwjbakz2TLK8JzH0Vjx+PMkQQ/WFIDdDu98HrqQQyMqteCqYj ok6NdYZeDG0CWUvTGuiViBYy/JJ0pi7XVktkR6qmxnmkSq5wXZarvJktNzM7FPJIepWm Bqul0f/D4gNwwNTk11n0kE2LDzjus8oluTGGxPUlOGfdLlZ/t7RZHUvM27pcVTm5tper nVkQ0ObYIUkdLjAPweBHGhpG/RhC6sAtfalAwb7lvLnFYNElfnT6+6V5EmdMrcEicy2U nDo2yM65ZKzpN0ygFAXpwilCWa2xaLj3b/wrlCd7KebEAOaBP+He9VnAzLpo/H+Z+6gS Fscg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=znm5VMThgGMVyouVZbk9CcvVhea8McWOojQc7RWUgfY=; b=TNfP6CMLo+Rqo+CQF48Wm8jheoE6B2oQMKWNL+JzAZFOKKMrcgqDk7uYNA8DXCdNKP 4loQsWwDh/huTLRhvYg3QapypDIph8K928iPg80kLSXjMS7Ocb8kSZ3Bmu1MX0oad1zb JS7C42uqbKdE6V8iyB3374OxFSC9a9kRqA+tkzw5uuGzGupWPBGOHUnm/HDkrvAwIL8R YjbRB3Y5sA62eMvP/OCTBzzwrgBX+ygtHQmY0cMZgI5wv3GqdQ+d+S37jkHvawuuhW+i HxKlYOxvtb6LUi9nWJAiLU/4iO3v/8jkGeXgbK8Jue19A7dgN94NRUQIvoTJdWzG34BH 40Kw== X-Gm-Message-State: AOPr4FWxLK/qQY3J8hdomlvBWyE/zOWvLkojXJS5QEYZm+J8SZ14M1Phe744Jtthj6sfGw== X-Received: by 10.28.130.6 with SMTP id e6mr9044735wmd.94.1461532227851; Sun, 24 Apr 2016 14:10:27 -0700 (PDT) Received: from localhost.localdomain ([46.249.74.23]) by smtp.gmail.com with ESMTPSA id b2sm15440182wmb.9.2016.04.24.14.10.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 24 Apr 2016 14:10:27 -0700 (PDT) From: Ivaylo Dimitrov To: sakari.ailus@iki.fi Cc: sre@kernel.org, pali.rohar@gmail.com, pavel@ucw.cz, linux-media@vger.kernel.org Subject: [RFC PATCH 15/24] media: add subdev type for bus switch Date: Mon, 25 Apr 2016 00:08:15 +0300 Message-Id: <1461532104-24032-16-git-send-email-ivo.g.dimitrov.75@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1461532104-24032-1-git-send-email-ivo.g.dimitrov.75@gmail.com> References: <20160420081427.GZ32125@valkosipuli.retiisi.org.uk> <1461532104-24032-1-git-send-email-ivo.g.dimitrov.75@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Sebastian Reichel --- include/uapi/linux/media.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h index df59ede..244bea1 100644 --- a/include/uapi/linux/media.h +++ b/include/uapi/linux/media.h @@ -137,6 +137,7 @@ struct media_device_info { * MEDIA_ENT_F_IF_VID_DECODER and/or MEDIA_ENT_F_IF_AUD_DECODER. */ #define MEDIA_ENT_F_TUNER (MEDIA_ENT_F_OLD_SUBDEV_BASE + 5) +#define MEDIA_ENT_F_SWITCH (MEDIA_ENT_F_OLD_SUBDEV_BASE + 6) #define MEDIA_ENT_F_V4L2_SUBDEV_UNKNOWN MEDIA_ENT_F_OLD_SUBDEV_BASE