From patchwork Mon Nov 26 18:01:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tretter X-Patchwork-Id: 10698901 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8FEAA13BB for ; Mon, 26 Nov 2018 18:17:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 849452A192 for ; Mon, 26 Nov 2018 18:17:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 792622A1CD; Mon, 26 Nov 2018 18:17:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3465B2A192 for ; Mon, 26 Nov 2018 18:17:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726692AbeK0FMi (ORCPT ); Tue, 27 Nov 2018 00:12:38 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:58669 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726599AbeK0FMi (ORCPT ); Tue, 27 Nov 2018 00:12:38 -0500 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gRLCM-00074C-Am; Mon, 26 Nov 2018 19:01:30 +0100 Received: from mtr by dude.hi.pengutronix.de with local (Exim 4.91) (envelope-from ) id 1gRLCM-0003xc-1C; Mon, 26 Nov 2018 19:01:30 +0100 From: Michael Tretter To: hverkuil@xs4all.nl Cc: mchehab@kernel.org, linux-media@vger.kernel.org, Michael Tretter Subject: [PATCH 0/2] Fix v4l2-pci-skeleton driver Date: Mon, 26 Nov 2018 19:01:22 +0100 Message-Id: <20181126180124.15161-1-m.tretter@pengutronix.de> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: mtr@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-media@vger.kernel.org Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This series fixes the v4l2-pci-skeleton driver to make it usable as a reference for new v4l2 drivers again. The driver was skipped when replacing vb2_buffer with vb2_v4l2_buffers for v4l2 drivers. Moreover, VIDEO_PCI_SKELETON did not ensure that it is actually build. Michael Tretter (2): [media] v4l2-pci-skeleton: depend on CONFIG_SAMPLES [media] v4l2-pci-skeleton: replace vb2_buffer with vb2_v4l2_buffer drivers/media/v4l2-core/Kconfig | 1 + samples/v4l/v4l2-pci-skeleton.c | 11 ++++++----- 2 files changed, 7 insertions(+), 5 deletions(-)