From patchwork Fri Apr 12 23:43:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 10899261 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 E085A18B7 for ; Fri, 12 Apr 2019 23:45:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C24A928D77 for ; Fri, 12 Apr 2019 23:45:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B5E1828EA4; Fri, 12 Apr 2019 23:45:44 +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=unavailable 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 2FB9028D77 for ; Fri, 12 Apr 2019 23:45:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727091AbfDLXpd (ORCPT ); Fri, 12 Apr 2019 19:45:33 -0400 Received: from vsp-unauthed02.binero.net ([195.74.38.227]:34168 "EHLO vsp-unauthed02.binero.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726973AbfDLXpd (ORCPT ); Fri, 12 Apr 2019 19:45:33 -0400 X-Halon-ID: 0740b781-5d7d-11e9-8fa2-005056917a89 Authorized-sender: niklas@soderlund.pp.se Received: from bismarck.berto.se (unknown [89.233.230.99]) by bin-vsp-out-01.atm.binero.net (Halon) with ESMTPA id 0740b781-5d7d-11e9-8fa2-005056917a89; Sat, 13 Apr 2019 01:45:26 +0200 (CEST) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: Laurent Pinchart , linux-media@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, =?utf-8?q?Niklas_S=C3=B6derlund?= Subject: [PATCH 0/8] rcar-vin: Merge Gen2 and Gen3 file operations Date: Sat, 13 Apr 2019 01:43:51 +0200 Message-Id: <20190412234359.5079-1-niklas.soderlund+renesas@ragnatech.se> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi, This series aims to merge the two different set of file operations used in the rcar-vin driver. One set was used on Renesas Gen2 boards while the other set was used on Gen3. Main difference between the two is that Gen2 uses a device node centric world view while Gen3 subscribes to the media controller way of looking at things ;-) After refactoring out a lot of code left over from the Gen2 mode which stems from the drivers origin in soc_camera it became apparent that a lot of code could me removed my merging the two sets. Tested on both Gen2 and Gen3 no regressions found. Niklas Söderlund (8): rcar-vin: Do not call pm_runtime_{resume,suspend}() rcar-vin: Remove unneeded calls to pm_runtime_{enable,disable} rcar-vin: Allow interrupting lock when trying to open the video device rcar-vin: Do not sync subdevice format when opening the video device rcar-vin: Move pm_runtime_{get,put} out of helpers rcar-vin: Merge helpers dealing with powering the parallel subdevice rcar-vin: Fold rvin_initialize_device() into rvin_open() rcar-vin: Merge Gen2 and Gen3 file operations drivers/media/platform/rcar-vin/rcar-v4l2.c | 188 ++++---------------- 1 file changed, 38 insertions(+), 150 deletions(-)