Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp577879pxj; Wed, 2 Jun 2021 06:30:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7c7uQlmlTDabyl2B8yksQKoQ/BSd1a8nJ8+KcXvtjzQGs8fU64S7wJ6YdKpq0OMaxO5Zw X-Received: by 2002:a05:6402:1a:: with SMTP id d26mr39693682edu.105.1622640612204; Wed, 02 Jun 2021 06:30:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622640612; cv=none; d=google.com; s=arc-20160816; b=E7NTvnx/x2fZS7qm/8sE7R8HQqk8NdRkDCKxBbxoMXusHoQcFIhOUW8Wumc0zOoTo9 Q5ee42O4ZtdHmTL1A/qgTcZeQp1DWMIW4BDhlVh/2NKHiLomPXYzBh/RjnJPtkDmpQb6 8BM0tsWpvtCfFr2pWUt9z0q3hrFidBGjTVY0KMK3f+Ds8BJasPj57sszGup9NtgbuLyU k9qJC+vY+5tzZo6w320Q5fcl43JRDY/NG29lkEkxJZa7be7wJJ5DcUJPcmKvM4s/PGQY 8Abx3TRca7cc8WwvjAItR+O0WKmzHHBvf3QocvASHqkDyYh7e1C4kw/OYfD0/CqlhPZF SiUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=O0x3XJBFV5UzjoJ2gAS4AdCjkNLzyYbyqAGCLuflu74=; b=fxb9mF8bJnbbboVfSG7h7y0sxv73pe3aCmvNyqdlXPSMUzyWag0Gbtwy0pu/JCm4VI a09oD2DLM7dCZkW4sIfIbltEqLjY3/0C+U7nfuwY71SZu+e5Pvv76VPvdmu5b/zZhwot G/Vb6fooQoqlCllyD3KuXH4L1FWyQpzKGHAMz0UsPYmnDeEw9t7fDMybaca0Xw4Chdxe Fq+Jm9Qo02jihKI7sVSSa0Y7QvWTtAmB6hDfdQjHlnB0UhdPJvQx9i87CqDgkg5el0VD gwA7sjQ9IigkmMAPeuh5g0Le7CTfO6L0SwhGQdhHWsC5V8KgRvSi54zqE0cbHjZMglQR an8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=TlQWh4Js; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id a14si470983ejc.384.2021.06.02.06.29.49; Wed, 02 Jun 2021 06:30:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=TlQWh4Js; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S229867AbhFBN1D (ORCPT + 99 others); Wed, 2 Jun 2021 09:27:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:39070 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229593AbhFBN0z (ORCPT ); Wed, 2 Jun 2021 09:26:55 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 63DE06024A; Wed, 2 Jun 2021 13:25:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1622640312; bh=FV+x3WxqlmUwMsQyV+Gb3ENhCp68U7GBVBr1EI3Wgv8=; h=From:To:Cc:Subject:Date:From; b=TlQWh4JsQYBN9CkhhCoASBSgDddqLirbSLtxwZwAF8/U8RJA83feGs1sSd6q0chAL Vhs2Ca7ZuWZGisyAUEiTJj51SPYptRxORRPGHX7FUlezF3u7Dln01EjYLo3dBZaEV6 FwsO9zixrSnyZxlpInhv/vKHJ2pnoFRbvSzs4maruafEdtOHE33Gtm0ihp0lu/ybD0 t2XUMp5m19MGp25Nr6ajPXzRpgNnQqs3Z5O0T2bqMJHj5/NrDFi/HqUY0SchZddy4c 4t6dJqo8UIO4oN5oC8iA1Y2Vhnj2qs5sovufIkuhhOPXRv6ExtZM7D38FcqpL6qf6u JYszKQ35B6txw== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1loQrt-006UP6-UK; Wed, 02 Jun 2021 15:25:09 +0200 From: Mauro Carvalho Chehab Cc: linuxarm@huawei.com, mauro.chehab@huawei.com, Mauro Carvalho Chehab , Andy Walls , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-staging@lists.linux.dev Subject: [PATCH 0/3] Move audio/video/osd APIs to be together with av7110 Date: Wed, 2 Jun 2021 15:25:06 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The ivtv is abusing a DVB API, as this is a V4L2 driver only. While this got fixed several years ago, a backward-compat code was added on that time (2016) by commit 6689638025a9 ("[media] ivtv: mark DVB "borrowed" ioctls as deprecated"). It is time to drop support for it. With that, the only remaining upstream driver to use those APIs is the av7110, which is now at staging. So, move the API to staging too, in order to be together with the driver that will retire on a couple of versions. Mauro Carvalho Chehab (3): media: ivtv: get rid of DVB deprecated ioctls media: dvb header files: move some headers to staging media: docs: move DVB audio/video docs to staging Documentation/userspace-api/media/Makefile | 10 +- .../media/audio.h.rst.exceptions | 19 -- .../userspace-api/media/dvb/headers.rst | 7 - .../media/dvb/legacy_dvb_apis.rst | 7 - .../media/video.h.rst.exceptions | 39 ---- drivers/media/pci/ivtv/Kconfig | 12 - drivers/media/pci/ivtv/ivtv-driver.h | 2 - drivers/media/pci/ivtv/ivtv-ioctl.c | 221 ------------------ .../audio-bilingual-channel-select.rst | 0 .../media/av7110}/audio-channel-select.rst | 0 .../media/av7110}/audio-clear-buffer.rst | 0 .../staging/media/av7110}/audio-continue.rst | 0 .../staging/media/av7110}/audio-fclose.rst | 0 .../staging/media/av7110}/audio-fopen.rst | 0 .../staging/media/av7110}/audio-fwrite.rst | 0 .../media/av7110}/audio-get-capabilities.rst | 0 .../media/av7110}/audio-get-status.rst | 0 .../staging/media/av7110}/audio-pause.rst | 0 .../staging/media/av7110}/audio-play.rst | 0 .../media/av7110}/audio-select-source.rst | 0 .../media/av7110}/audio-set-av-sync.rst | 0 .../media/av7110}/audio-set-bypass-mode.rst | 0 .../staging/media/av7110}/audio-set-id.rst | 0 .../staging/media/av7110}/audio-set-mixer.rst | 0 .../staging/media/av7110}/audio-set-mute.rst | 0 .../media/av7110}/audio-set-streamtype.rst | 0 .../staging/media/av7110}/audio-stop.rst | 0 .../staging/media/av7110}/audio.h | 0 .../staging/media/av7110}/audio.rst | 0 .../media/av7110}/audio_data_types.rst | 0 .../media/av7110}/audio_function_calls.rst | 0 drivers/staging/media/av7110/av7110.h | 7 +- .../staging/media/av7110}/osd.h | 0 .../media/av7110}/video-clear-buffer.rst | 0 .../staging/media/av7110}/video-command.rst | 0 .../staging/media/av7110}/video-continue.rst | 0 .../media/av7110}/video-fast-forward.rst | 0 .../staging/media/av7110}/video-fclose.rst | 0 .../staging/media/av7110}/video-fopen.rst | 0 .../staging/media/av7110}/video-freeze.rst | 0 .../staging/media/av7110}/video-fwrite.rst | 0 .../media/av7110}/video-get-capabilities.rst | 0 .../staging/media/av7110}/video-get-event.rst | 0 .../media/av7110}/video-get-frame-count.rst | 0 .../staging/media/av7110}/video-get-pts.rst | 0 .../staging/media/av7110}/video-get-size.rst | 0 .../media/av7110}/video-get-status.rst | 0 .../staging/media/av7110}/video-play.rst | 0 .../media/av7110}/video-select-source.rst | 0 .../staging/media/av7110}/video-set-blank.rst | 0 .../av7110}/video-set-display-format.rst | 0 .../media/av7110}/video-set-format.rst | 0 .../media/av7110}/video-set-streamtype.rst | 0 .../media/av7110}/video-slowmotion.rst | 0 .../media/av7110}/video-stillpicture.rst | 0 .../staging/media/av7110}/video-stop.rst | 0 .../media/av7110}/video-try-command.rst | 0 .../staging/media/av7110}/video.h | 0 .../staging/media/av7110}/video.rst | 0 .../media/av7110}/video_function_calls.rst | 0 .../staging/media/av7110}/video_types.rst | 0 61 files changed, 6 insertions(+), 318 deletions(-) delete mode 100644 Documentation/userspace-api/media/audio.h.rst.exceptions delete mode 100644 Documentation/userspace-api/media/video.h.rst.exceptions rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/audio-bilingual-channel-select.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/audio-channel-select.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/audio-clear-buffer.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/audio-continue.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/audio-fclose.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/audio-fopen.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/audio-fwrite.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/audio-get-capabilities.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/audio-get-status.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/audio-pause.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/audio-play.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/audio-select-source.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/audio-set-av-sync.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/audio-set-bypass-mode.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/audio-set-id.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/audio-set-mixer.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/audio-set-mute.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/audio-set-streamtype.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/audio-stop.rst (100%) rename {include/uapi/linux/dvb => drivers/staging/media/av7110}/audio.h (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/audio.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/audio_data_types.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/audio_function_calls.rst (100%) rename {include/uapi/linux/dvb => drivers/staging/media/av7110}/osd.h (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/video-clear-buffer.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/video-command.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/video-continue.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/video-fast-forward.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/video-fclose.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/video-fopen.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/video-freeze.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/video-fwrite.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/video-get-capabilities.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/video-get-event.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/video-get-frame-count.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/video-get-pts.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/video-get-size.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/video-get-status.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/video-play.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/video-select-source.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/video-set-blank.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/video-set-display-format.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/video-set-format.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/video-set-streamtype.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/video-slowmotion.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/video-stillpicture.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/video-stop.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/video-try-command.rst (100%) rename {include/uapi/linux/dvb => drivers/staging/media/av7110}/video.h (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/video.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/video_function_calls.rst (100%) rename {Documentation/userspace-api/media/dvb => drivers/staging/media/av7110}/video_types.rst (100%) -- 2.31.1