Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4178798imm; Mon, 17 Sep 2018 09:24:03 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZKetQwYOwhP3YC62gwuS+RqqTAu89YzeTrMirI32X5jlBgG2kOpw5NeFDgJWIOcuJzYXYm X-Received: by 2002:a65:5286:: with SMTP id y6-v6mr23119571pgp.65.1537201443127; Mon, 17 Sep 2018 09:24:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537201443; cv=none; d=google.com; s=arc-20160816; b=HRcUs3BRJeouEvbwOyObU0OtH8DqlyhSPNuqfIBAUru6CzNMbN+tYSJaDEyAwRiacH DE9B5E96+UPYyoAeDHeJUQ3/SDmEH4nFB7VXxYnAHN+lSNYXy83zqE4FfsnGmJRQ5e+W XkCGSsb2y4LqCY9MVUTePJo2LuMkEWyDLoo7YbrQneuDi7PjA0al5fIitVf4kykAtoiP sNJzG9sB+PEUXgHq/94qrHhtXqHWp7qkVrCAeQYbKk4KkAI2LQYO3lqiijmp1xFuqwJS Sq1CX+UBF4gtf7VGdn3cP9s5oSHtiNH9StThI6CCOGdSH1snk69wZGbevZk5+D90XGs3 bKsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=tZCKb/5OQijuj6vU4V/srB7PftBO1bFcau519IGbvAs=; b=cb5NR7BaJd/T0U66nEnPSAhA1b8idcAM71krSwbhYXh4fuQh+fNVsrbro8L1T0/H+1 A2I6qeEefu0xlnV2vyWK273vUQ/MsUb0GVva5cyowiYKtla9CvuAp7Wulv06c4UoMjE1 oRGvdX3mARLTcO185xBN9G2HqgqUFeAknDvYlzfuaLQOsDbnNRCW6jvhsNcPPyM3Ingq ra8UJgthUn/eUj7r9bfDt0bc+ipOssLlKe3RuLUw8aLFW1s0S9Mydmnc9nh8C/X2TLgg 9DXGetF2mCWktPyWkOEEfrZI+RwpYtePP4rAuBOR+OMykxR0bWjxOBA/x/n2j+Dtd2W9 gfRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l71-v6si15460998pge.433.2018.09.17.09.23.46; Mon, 17 Sep 2018 09:24:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728724AbeIQVty (ORCPT + 99 others); Mon, 17 Sep 2018 17:49:54 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:53591 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728186AbeIQVtx (ORCPT ); Mon, 17 Sep 2018 17:49:53 -0400 Received: by mail-wm1-f66.google.com with SMTP id b19-v6so10353494wme.3 for ; Mon, 17 Sep 2018 09:21:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=tZCKb/5OQijuj6vU4V/srB7PftBO1bFcau519IGbvAs=; b=luk+gYGATZt8o274ATnOb/o0h842iIEn6V9wX4rCU2lyJFnNBJdU+w7pT6+BQn6/RU S6ZYcIq+Jwb/ny+pl+H/MuNPNVRODCQa0nAUEtTECIGfKrymWTndTxXMoOEH9MvmZWON zLr8Wpwao6BTWu4BS4C94T8yKCxnX8L9jjWiBcKW3qsu4BDqFQagJu6Ix83SMRkLH4o0 HeKpOnypWzfxgk9Doc9eXXBUUaei6G0LT8nHrnVHF6VEdff+wQlmmkvR5yv8xhCsbHHJ nF/gDKWyMqZppe0YMPa+5o2EiHh/fuFskotI7YonDsm3EZxTiYQduLvaR1ri+gX60tN6 +9Rg== X-Gm-Message-State: APzg51AHuNKK0dRNz+bOwAf61EKtpTnPBwoCy7Enwpw7ykypN3hdQY/n dtfMPzvgR3KYDyJR5SdcqHBU/g== X-Received: by 2002:a1c:c019:: with SMTP id q25-v6mr12373015wmf.148.1537201308757; Mon, 17 Sep 2018 09:21:48 -0700 (PDT) Received: from [192.168.1.13] ([90.168.169.92]) by smtp.gmail.com with ESMTPSA id u40-v6sm20175656wrc.43.2018.09.17.09.21.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Sep 2018 09:21:48 -0700 (PDT) Subject: Re: [PATCH 0/2] media: intel-ipu3: allow the media graph to be used even if a subdev fails To: linux-kernel@vger.kernel.org Cc: Tian Shu Qiu , Sakari Ailus , Mauro Carvalho Chehab , Jian Xu Zheng , Yong Zhi , Hans Verkuil , Bingbu Cao , linux-media@vger.kernel.org References: <20180904113018.14428-1-javierm@redhat.com> From: Javier Martinez Canillas Message-ID: <4e2acf4a-e466-c830-35e0-69a653c797ff@redhat.com> Date: Mon, 17 Sep 2018 18:21:46 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20180904113018.14428-1-javierm@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Tianshu and Sakari, On 9/4/18 1:30 PM, Javier Martinez Canillas wrote: > Hello, > > This series allows the ipu3-cio2 driver to properly expose a subset of the > media graph even if some drivers for the pending subdevices fail to probe. > > Currently the driver exposes a non-functional graph since the pad links are > created and the subdev dev nodes are registered in the v4l2 async .complete > callback. Instead, these operations should be done in the .bound callback. > > Patch #1 just adds a v4l2_device_register_subdev_node() function to allow > registering a single device node for a subdev of a v4l2 device. > > Patch #2 moves the logic of the ipu3-cio2 .complete callback to the .bound > callback. The .complete callback is just removed since is empy after that. > > Best regards, > Javier > > > Javier Martinez Canillas (2): > [media] v4l: allow to register dev nodes for individual v4l2 subdevs > media: intel-ipu3: create pad links and register subdev nodes at bound > time > Any comments about these patches? Best regards, -- Javier Martinez Canillas Software Engineer - Desktop Hardware Enablement Red Hat