From patchwork Mon Feb 17 19:16:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dafna Hirschfeld X-Patchwork-Id: 11387527 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3D186159A for ; Mon, 17 Feb 2020 19:16:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2724220801 for ; Mon, 17 Feb 2020 19:16:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729585AbgBQTQd (ORCPT ); Mon, 17 Feb 2020 14:16:33 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:43582 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729129AbgBQTQd (ORCPT ); Mon, 17 Feb 2020 14:16:33 -0500 Received: from localhost.localdomain (p200300CB87166A0024B68010760D030E.dip0.t-ipconnect.de [IPv6:2003:cb:8716:6a00:24b6:8010:760d:30e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dafna) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 925A128188B; Mon, 17 Feb 2020 19:16:31 +0000 (GMT) From: Dafna Hirschfeld To: linux-media@vger.kernel.org Cc: dafna.hirschfeld@collabora.com, helen.koike@collabora.com, ezequiel@collabora.com, hverkuil@xs4all.nl, kernel@collabora.com, dafna3@gmail.com, sakari.ailus@linux.intel.com, linux-rockchip@lists.infradead.org, mchehab@kernel.org Subject: [PATCH 0/2] fix fwnode API usage and remove v4l2_mbus_config field Date: Mon, 17 Feb 2020 20:16:17 +0100 Message-Id: <20200217191619.28976-1-dafna.hirschfeld@collabora.com> X-Mailer: git-send-email 2.17.1 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org This patchset fixes usage of the APIs. This fixes the item in the TODO file: * Don't use v4l2_async_notifier_parse_fwnode_endpoints_by_port(). e.g. isp_parse_of_endpoints in drivers/media/platform/omap3isp/isp.c cio2_parse_firmware in drivers/media/pci/intel/ipu3/ipu3-cio2.c. Patches summary: - The first patch removes the field v4l2_mbus_config from 'struct rkisp1_sensor_async'. - The second patch removes the usage of v4l2_async_notifier_parse_fwnode_endpoints_by_port. The code is very similar to the code in the function cio2_parse_firmware but instead of iterating the ports it iterates the id's. The patch also removes the relevant item from the TODO file. Dafna Hirschfeld (2): media: staging: rkisp1: remove mbus field from rkisp1_sensor_async media: staging: rkisp1: replace the call to v4l2_async_notifier_parse_fwnode_endpoints_by_port drivers/staging/media/rkisp1/TODO | 3 - drivers/staging/media/rkisp1/rkisp1-common.h | 3 +- drivers/staging/media/rkisp1/rkisp1-dev.c | 108 ++++++++++--------- drivers/staging/media/rkisp1/rkisp1-isp.c | 52 +++------ 4 files changed, 76 insertions(+), 90 deletions(-)